dual-mode of DB fpr requery and room

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-06-20 13:21:12 +02:00
parent 05db482d06
commit 349d5fe19b
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -41,7 +41,7 @@ import javax.inject.Singleton;
@Module @Module
public class DatabaseModule { public class DatabaseModule {
public static final int DB_VERSION = 7; public static final int DB_VERSION = 8;
@Provides @Provides
@Singleton @Singleton
@ -55,7 +55,7 @@ public class DatabaseModule {
.toLowerCase() .toLowerCase()
.replace(" ", "_") .replace(" ", "_")
.trim() .trim()
+ ".sqlite_off", + ".sqlite",
context.getString(R.string.nc_talk_database_encryption_key), context.getString(R.string.nc_talk_database_encryption_key),
DB_VERSION); DB_VERSION);
} }