Fix overlapping shadow in history controller

This commit is contained in:
arkon 2020-03-11 18:27:54 -04:00
parent 436ec0ced7
commit cd1abb60d7

View File

@ -8,6 +8,7 @@ import eu.davidea.flexibleadapter.FlexibleAdapter
import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.data.database.models.History import eu.kanade.tachiyomi.data.database.models.History
import eu.kanade.tachiyomi.data.database.models.Manga import eu.kanade.tachiyomi.data.database.models.Manga
import eu.kanade.tachiyomi.ui.base.controller.NoToolbarElevationController
import eu.kanade.tachiyomi.ui.base.controller.NucleusController import eu.kanade.tachiyomi.ui.base.controller.NucleusController
import eu.kanade.tachiyomi.ui.base.controller.RootController import eu.kanade.tachiyomi.ui.base.controller.RootController
import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction
@ -19,11 +20,12 @@ import kotlinx.android.synthetic.main.history_controller.recycler
/** /**
* Fragment that shows recently read manga. * Fragment that shows recently read manga.
* Uses R.layout.fragment_recently_read. * Uses [R.layout.history_controller].
* UI related actions should be called from here. * UI related actions should be called from here.
*/ */
class HistoryController : NucleusController<HistoryPresenter>(), class HistoryController : NucleusController<HistoryPresenter>(),
RootController, RootController,
NoToolbarElevationController,
FlexibleAdapter.OnUpdateListener, FlexibleAdapter.OnUpdateListener,
HistoryAdapter.OnRemoveClickListener, HistoryAdapter.OnRemoveClickListener,
HistoryAdapter.OnResumeClickListener, HistoryAdapter.OnResumeClickListener,