From a86611c6445348879d053692b787cbd48d958e77 Mon Sep 17 00:00:00 2001 From: Jay Date: Mon, 10 Feb 2020 23:36:20 -0800 Subject: [PATCH] Fixed library snackbar in landscape --- .../kanade/tachiyomi/ui/library/filter/SortFilterBottomSheet.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/SortFilterBottomSheet.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/SortFilterBottomSheet.kt index ad21e12a17..d890cf9254 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/SortFilterBottomSheet.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/filter/SortFilterBottomSheet.kt @@ -167,7 +167,7 @@ class SortFilterBottomSheet @JvmOverloads constructor(context: Context, attrs: A val height = context.resources.getDimensionPixelSize(R.dimen.rounder_radius) pager?.setPadding(0, 0, 0, if (phoneLandscape) 0 else (top_bar.height - height)) - coordLayout.setPadding(0, 0, 0, top_bar.height) + coordLayout.setPadding(0, 0, 0, peekingHeight) } else { updateRootPadding()