From 37fdf4d4342d4c14838c7d7ddc4dc246b659cdda Mon Sep 17 00:00:00 2001 From: arkon Date: Mon, 12 Apr 2021 18:43:22 -0400 Subject: [PATCH] Fix toolbar elevation in History and Updates --- .../kanade/tachiyomi/ui/recent/history/HistoryController.kt | 4 ---- .../kanade/tachiyomi/ui/recent/updates/UpdatesController.kt | 4 ---- 2 files changed, 8 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt index 7972a2a4ae..57e2ad3ab7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt @@ -20,7 +20,6 @@ import eu.kanade.tachiyomi.data.database.models.History import eu.kanade.tachiyomi.data.database.models.Manga import eu.kanade.tachiyomi.databinding.HistoryControllerBinding import eu.kanade.tachiyomi.ui.base.controller.DialogController -import eu.kanade.tachiyomi.ui.base.controller.NoToolbarElevationController import eu.kanade.tachiyomi.ui.base.controller.NucleusController import eu.kanade.tachiyomi.ui.base.controller.RootController import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction @@ -36,13 +35,10 @@ import uy.kohesive.injekt.injectLazy /** * Fragment that shows recently read manga. - * Uses [R.layout.history_controller]. - * UI related actions should be called from here. */ class HistoryController : NucleusController(), RootController, - NoToolbarElevationController, FlexibleAdapter.OnUpdateListener, FlexibleAdapter.EndlessScrollListener, HistoryAdapter.OnRemoveClickListener, diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/updates/UpdatesController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/updates/UpdatesController.kt index 466211aedb..4dca1f14ac 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/updates/UpdatesController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/updates/UpdatesController.kt @@ -19,7 +19,6 @@ import eu.kanade.tachiyomi.data.download.model.Download import eu.kanade.tachiyomi.data.library.LibraryUpdateService import eu.kanade.tachiyomi.data.notification.Notifications import eu.kanade.tachiyomi.databinding.UpdatesControllerBinding -import eu.kanade.tachiyomi.ui.base.controller.NoToolbarElevationController import eu.kanade.tachiyomi.ui.base.controller.NucleusController import eu.kanade.tachiyomi.ui.base.controller.RootController import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction @@ -37,13 +36,10 @@ import timber.log.Timber /** * Fragment that shows recent chapters. - * Uses [R.layout.updates_controller]. - * UI related actions should be called from here. */ class UpdatesController : NucleusController(), RootController, - NoToolbarElevationController, ActionMode.Callback, FlexibleAdapter.OnItemClickListener, FlexibleAdapter.OnItemLongClickListener,