mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-12-18 03:02:17 +03:00
Fix keyboard sometimes affecting bottom inset padding
This commit is contained in:
parent
c8316c7254
commit
aa98cd0da0
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +44,6 @@ val Controller.insets: WindowInsets?
|
|||
}
|
||||
|
||||
fun Controller.applyBottomInsetPadding(view: View, paddingBottom: Int = view.paddingBottom) {
|
||||
val bottomInset = insets?.systemWindowInsetBottom ?: 0
|
||||
val bottomInset = insets?.stableInsetBottom ?: 0
|
||||
view.updatePadding(bottom = paddingBottom + bottomInset)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue