mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Actually make AppState singleton
This commit is contained in:
parent
1c8d546a3d
commit
4f59fbae07
8 changed files with 8 additions and 17 deletions
|
@ -31,7 +31,6 @@ import coil3.request.allowHardware
|
|||
import coil3.request.allowRgb565
|
||||
import coil3.request.crossfade
|
||||
import coil3.util.DebugLogger
|
||||
import dev.yokai.domain.AppState
|
||||
import eu.kanade.tachiyomi.appwidget.TachiyomiWidgetManager
|
||||
import eu.kanade.tachiyomi.data.coil.CoilDiskCache
|
||||
import eu.kanade.tachiyomi.data.coil.InputStreamFetcher
|
||||
|
@ -67,8 +66,6 @@ open class App : Application(), DefaultLifecycleObserver, SingletonImageLoader.F
|
|||
|
||||
val preferences: PreferencesHelper by injectLazy()
|
||||
|
||||
val state: AppState by lazy { AppState() }
|
||||
|
||||
private val disableIncognitoReceiver = DisableIncognitoReceiver()
|
||||
|
||||
@SuppressLint("LaunchActivityFromNotification")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue