MangaInfo: Don't apply appbar padding on tablet ui (#6464)
(cherry picked from commit 49cb3b6aa77ebf3cb945944c5b46cc115ac8537a)
This commit is contained in:
parent
479950e60e
commit
d6ba632c54
@ -116,6 +116,7 @@ class MangaInfoHeaderAdapter(
|
||||
}
|
||||
|
||||
private fun updateCoverPosition() {
|
||||
if (isTablet) return
|
||||
val appBarHeight = controller.getMainAppBarHeight()
|
||||
binding.mangaCover.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||
topMargin += appBarHeight
|
||||
|
Loading…
x
Reference in New Issue
Block a user