Sfoglia il codice sorgente

MangaInfo: Don't apply appbar padding on tablet ui (#6464)

Ivan Iskandar 3 anni fa
parent
commit
49cb3b6aa7

+ 1 - 0
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<ViewGroup.MarginLayoutParams> {
             topMargin += appBarHeight