mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-09 19:55:11 +01:00
Added inset hieight to menu sheet when setting max height
This commit is contained in:
parent
b6f6b410bb
commit
b42d611fde
@ -52,7 +52,7 @@ class MaterialMenuSheet(
|
||||
window?.decorView?.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
|
||||
}
|
||||
maxHeight?.let {
|
||||
menu_scroll_view.maxHeight = it
|
||||
menu_scroll_view.maxHeight = it + activity.window.decorView.rootWindowInsets.systemWindowInsetBottom
|
||||
menu_scroll_view.requestLayout()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user