mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 17:01:51 +01:00
Fixed library snackbar in landscape
This commit is contained in:
parent
dfe02234f2
commit
a86611c644
@ -167,7 +167,7 @@ class SortFilterBottomSheet @JvmOverloads constructor(context: Context, attrs: A
|
|||||||
val height = context.resources.getDimensionPixelSize(R.dimen.rounder_radius)
|
val height = context.resources.getDimensionPixelSize(R.dimen.rounder_radius)
|
||||||
pager?.setPadding(0, 0, 0, if (phoneLandscape) 0 else
|
pager?.setPadding(0, 0, 0, if (phoneLandscape) 0 else
|
||||||
(top_bar.height - height))
|
(top_bar.height - height))
|
||||||
coordLayout.setPadding(0, 0, 0, top_bar.height)
|
coordLayout.setPadding(0, 0, 0, peekingHeight)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
updateRootPadding()
|
updateRootPadding()
|
||||||
|
Loading…
Reference in New Issue
Block a user