From 49cb3b6aa77ebf3cb945944c5b46cc115ac8537a Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Sat, 15 Jan 2022 10:24:55 +0700 Subject: [PATCH] MangaInfo: Don't apply appbar padding on tablet ui (#6464) --- .../eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt index de6b5a5b3..dcb73f067 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoHeaderAdapter.kt @@ -84,6 +84,7 @@ class MangaInfoHeaderAdapter( } private fun updateCoverPosition() { + if (isTablet) return val appBarHeight = controller.getMainAppBarHeight() binding.mangaCover.updateLayoutParams { topMargin += appBarHeight