Fetch thumbnails from cbz

This commit is contained in:
Koitharu
2020-02-11 20:31:38 +02:00
parent 4f02060d50
commit a15f196a6b
4 changed files with 43 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
import org.koin.dsl.module
import org.koitharu.kotatsu.core.db.MangaDatabase
import org.koitharu.kotatsu.core.local.CbzFetcher
import org.koitharu.kotatsu.core.local.PagesCache
import org.koitharu.kotatsu.core.prefs.AppSettings
import org.koitharu.kotatsu.domain.MangaLoaderContext
@@ -61,6 +62,9 @@ class KotatsuApp : Application() {
.cache(CoilUtils.createDefaultCache(applicationContext))
.build()
}
componentRegistry {
add(CbzFetcher())
}
})
}