From 8fe80a0ff9c842e7acef2d99264a8d35638d66be Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 6 May 2020 20:28:05 -0400 Subject: [PATCH] Removing the other hide methods in trackbottomsheet --- .../kanade/tachiyomi/ui/manga/track/TrackingBottomSheet.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackingBottomSheet.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackingBottomSheet.kt index be48d152ac..7fc999d13e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackingBottomSheet.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackingBottomSheet.kt @@ -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 }