From d5605d162c21dee59d0d860052415dcfca0e797b Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 11 Apr 2020 01:59:57 -0400 Subject: [PATCH] Hide Fab in latest updates --- .../ui/catalogue/latest/LatestUpdatesController.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/latest/LatestUpdatesController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/latest/LatestUpdatesController.kt index f3e198f65e..82d1ffd85d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/latest/LatestUpdatesController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/latest/LatestUpdatesController.kt @@ -2,10 +2,13 @@ package eu.kanade.tachiyomi.ui.catalogue.latest import android.os.Bundle import android.view.Menu +import android.view.View import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.source.CatalogueSource import eu.kanade.tachiyomi.ui.catalogue.browse.BrowseCatalogueController import eu.kanade.tachiyomi.ui.catalogue.browse.BrowseCataloguePresenter +import eu.kanade.tachiyomi.util.view.gone +import kotlinx.android.synthetic.main.catalogue_controller.* /** * Controller that shows the latest manga from the catalogue. Inherit [BrowseCatalogueController]. @@ -16,6 +19,11 @@ class LatestUpdatesController(bundle: Bundle) : BrowseCatalogueController(bundle putLong(SOURCE_ID_KEY, source.id) }) + override fun onViewCreated(view: View) { + super.onViewCreated(view) + fab.gone() + } + override fun createPresenter(): BrowseCataloguePresenter { return LatestUpdatesPresenter(args.getLong(SOURCE_ID_KEY)) }