From bd17bf5f800460c35717e73bf9a222c0b71aeb69 Mon Sep 17 00:00:00 2001 From: r-ca Date: Thu, 14 Dec 2023 03:46:26 +0900 Subject: [PATCH] =?UTF-8?q?Provider=E3=81=AA=E3=81=AE=E3=81=A7static?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/source/database/LacertaDatabaseModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java b/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java index 2a6577d7..f1e03cef 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java +++ b/source/src/main/java/one/nem/lacerta/source/database/LacertaDatabaseModule.java @@ -15,7 +15,7 @@ import dagger.hilt.components.SingletonComponent; public class LacertaDatabaseModule { @Provides - public LacertaDatabase provideLacertaDatabase(@ApplicationContext Context context) { + public static LacertaDatabase provideLacertaDatabase(@ApplicationContext Context context) { return Room.databaseBuilder(context, LacertaDatabase.class, "lacerta.db").build();