Hide Fab in latest updates
This commit is contained in:
parent
2a8f4fd1c0
commit
d5605d162c
1 changed files with 8 additions and 0 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Reference in a new issue