mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
9d2a5d4f2c
commit
3ff922ed06
@ -53,14 +53,6 @@ fun createNextcloudTalkOfflineRepository(database: TalkDatabase): NextcloudTalkO
|
||||
return NextcloudTalkOfflineRepositoryImpl(database)
|
||||
}
|
||||
|
||||
fun createDatabase(context: Context): TalkDatabase {
|
||||
return Room.databaseBuilder(
|
||||
context,
|
||||
TalkDatabase::class.java, "talk.db"
|
||||
)
|
||||
.build()
|
||||
}
|
||||
|
||||
fun createPreferences(context: Context): AppPreferences {
|
||||
return StoreBox.create<AppPreferences>(context, AppPreferences::class.java)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user