mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 12:49:18 +01:00
MangaInfo: Don't apply appbar padding on tablet ui (#6464)
This commit is contained in:
parent
8ad98b67d2
commit
49cb3b6aa7
@ -84,6 +84,7 @@ class MangaInfoHeaderAdapter(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun updateCoverPosition() {
|
private fun updateCoverPosition() {
|
||||||
|
if (isTablet) return
|
||||||
val appBarHeight = controller.getMainAppBarHeight()
|
val appBarHeight = controller.getMainAppBarHeight()
|
||||||
binding.mangaCover.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
binding.mangaCover.updateLayoutParams<ViewGroup.MarginLayoutParams> {
|
||||||
topMargin += appBarHeight
|
topMargin += appBarHeight
|
||||||
|
Loading…
Reference in New Issue
Block a user