mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
Providerなのでstaticに
This commit is contained in:
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user