mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-13 00:05:08 +01:00
Removing the other hide methods in trackbottomsheet
This commit is contained in:
parent
149ecaa592
commit
8fe80a0ff9
@ -15,7 +15,6 @@ import eu.kanade.tachiyomi.ui.manga.MangaDetailsController
|
||||
import eu.kanade.tachiyomi.util.system.dpToPx
|
||||
import eu.kanade.tachiyomi.util.system.toast
|
||||
import eu.kanade.tachiyomi.util.view.RecyclerWindowInsetsListener
|
||||
import eu.kanade.tachiyomi.util.view.hide
|
||||
import eu.kanade.tachiyomi.util.view.setEdgeToEdge
|
||||
import kotlinx.android.synthetic.main.tracking_bottom_sheet.*
|
||||
import timber.log.Timber
|
||||
@ -110,7 +109,7 @@ class TrackingBottomSheet(private val controller: MangaDetailsController) : Bott
|
||||
override fun onLogoClick(position: Int) {
|
||||
val track = adapter?.getItem(position)?.track ?: return
|
||||
if (controller.isNotOnline()) {
|
||||
sheetBehavior.hide()
|
||||
dismiss()
|
||||
return
|
||||
}
|
||||
|
||||
@ -125,7 +124,7 @@ class TrackingBottomSheet(private val controller: MangaDetailsController) : Bott
|
||||
override fun onSetClick(position: Int) {
|
||||
val item = adapter?.getItem(position) ?: return
|
||||
if (controller.isNotOnline()) {
|
||||
sheetBehavior.hide()
|
||||
dismiss()
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user