Hide Fab in latest updates

This commit is contained in:
Jay 2020-04-11 01:59:57 -04:00
parent 2a8f4fd1c0
commit d5605d162c

View File

@ -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))
}