Apply window insets

This commit is contained in:
Naveen 2022-11-08 02:16:07 +05:30
parent b4c5648ddc
commit 10b0135922
1 changed files with 2 additions and 2 deletions

View File

@ -1445,9 +1445,9 @@ class ThreadActivity : SimpleActivity() {
}
private fun setupKeyboardListener() {
window.decorView.setOnApplyWindowInsetsListener { _, insets ->
window.decorView.setOnApplyWindowInsetsListener { view, insets ->
showOrHideAttachmentPicker()
insets
view.onApplyWindowInsets(insets)
}
val callback = object : WindowInsetsAnimationCompat.Callback(DISPATCH_MODE_CONTINUE_ON_SUBTREE) {