Improve app update prompt flow experience (#3669)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package eu.kanade.tachiyomi.di
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.sqlite.driver.bundled.BundledSQLiteDriver
|
||||
import app.cash.sqldelight.db.SqlDriver
|
||||
@@ -53,6 +54,7 @@ class AppModule(val app: Application) : InjektModule {
|
||||
|
||||
override fun InjektRegistrar.registerInjectables() {
|
||||
addSingleton(app)
|
||||
addSingleton<Context>(app)
|
||||
|
||||
addSingletonFactory<SqlDriver> {
|
||||
synchronized(lock) {
|
||||
|
||||
Reference in New Issue
Block a user