|
@@ -19,7 +19,6 @@ import com.jakewharton.rxrelay.BehaviorRelay
|
|
import com.jakewharton.rxrelay.PublishRelay
|
|
import com.jakewharton.rxrelay.PublishRelay
|
|
import com.tfcporciuncula.flow.Preference
|
|
import com.tfcporciuncula.flow.Preference
|
|
import eu.kanade.tachiyomi.R
|
|
import eu.kanade.tachiyomi.R
|
|
-import eu.kanade.tachiyomi.data.cache.CoverCache
|
|
|
|
import eu.kanade.tachiyomi.data.database.models.Category
|
|
import eu.kanade.tachiyomi.data.database.models.Category
|
|
import eu.kanade.tachiyomi.data.database.models.Manga
|
|
import eu.kanade.tachiyomi.data.database.models.Manga
|
|
import eu.kanade.tachiyomi.data.library.LibraryUpdateService
|
|
import eu.kanade.tachiyomi.data.library.LibraryUpdateService
|
|
@@ -42,7 +41,6 @@ import eu.kanade.tachiyomi.util.view.visible
|
|
import kotlinx.android.synthetic.main.main_activity.tabs
|
|
import kotlinx.android.synthetic.main.main_activity.tabs
|
|
import kotlinx.coroutines.flow.distinctUntilChanged
|
|
import kotlinx.coroutines.flow.distinctUntilChanged
|
|
import kotlinx.coroutines.flow.drop
|
|
import kotlinx.coroutines.flow.drop
|
|
-import kotlinx.coroutines.flow.filter
|
|
|
|
import kotlinx.coroutines.flow.launchIn
|
|
import kotlinx.coroutines.flow.launchIn
|
|
import kotlinx.coroutines.flow.onEach
|
|
import kotlinx.coroutines.flow.onEach
|
|
import reactivecircus.flowbinding.android.view.clicks
|
|
import reactivecircus.flowbinding.android.view.clicks
|
|
@@ -54,8 +52,7 @@ import uy.kohesive.injekt.api.get
|
|
|
|
|
|
class LibraryController(
|
|
class LibraryController(
|
|
bundle: Bundle? = null,
|
|
bundle: Bundle? = null,
|
|
- private val preferences: PreferencesHelper = Injekt.get(),
|
|
|
|
- private val coverCache: CoverCache = Injekt.get()
|
|
|
|
|
|
+ private val preferences: PreferencesHelper = Injekt.get()
|
|
) : NucleusController<LibraryControllerBinding, LibraryPresenter>(bundle),
|
|
) : NucleusController<LibraryControllerBinding, LibraryPresenter>(bundle),
|
|
RootController,
|
|
RootController,
|
|
TabbedController,
|
|
TabbedController,
|