various bugfixes
This commit is contained in:
parent
0b9f2bb019
commit
dc959796e6
26 changed files with 685 additions and 289 deletions
|
@ -2,6 +2,7 @@ package ani.dantotsu.aniyomi.anime.custom
|
|||
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import ani.dantotsu.media.manga.MangaCache
|
||||
import eu.kanade.tachiyomi.extension.anime.AnimeExtensionManager
|
||||
import tachiyomi.core.preference.PreferenceStore
|
||||
|
@ -28,6 +29,9 @@ class AppModule(val app: Application) : InjektModule {
|
|||
|
||||
addSingletonFactory { MangaExtensionManager(app) }
|
||||
|
||||
val sharedPreferences = app.getSharedPreferences("Dantotsu", Context.MODE_PRIVATE)
|
||||
addSingleton(sharedPreferences)
|
||||
|
||||
addSingletonFactory {
|
||||
Json {
|
||||
ignoreUnknownKeys = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue