From e0247e869bd3b97f9e6d32235e230ba0ddcf8076 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sun, 21 Mar 2021 22:28:52 -0400 Subject: [PATCH] More fixes to auto hide bottom nav --- .../java/eu/kanade/tachiyomi/ui/library/LibraryController.kt | 1 + .../java/eu/kanade/tachiyomi/ui/source/SourceController.kt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index 1bfe356363..6c57dc12ef 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -715,6 +715,7 @@ class LibraryController( recycler_cover.isFocusable = false showDropdown() } else { + updateFilterSheetY() closeTip() if (filter_bottom_sheet.sheetBehavior.isHidden()) { filter_bottom_sheet.invisible() diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/source/SourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/source/SourceController.kt index d935976e19..55e6bc84fd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/source/SourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/source/SourceController.kt @@ -264,6 +264,9 @@ class SourceController : ext_bottom_sheet.updateExtTitle() ext_bottom_sheet.presenter.refreshExtensions() } + if (!type.isEnter) { + setBottomPadding() + } } override fun onActivityResumed(activity: Activity) {