mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Fix keyboard sometimes affecting bottom inset padding
This commit is contained in:
		| @@ -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) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user