mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
committed by
Cody Henthorne
parent
55bce1fa12
commit
72f19758db
@@ -130,9 +130,9 @@ open class InsetAwareConstraintLayout @JvmOverloads constructor(
|
||||
|
||||
if (previousKeyboardHeight != keyboardInsets.bottom) {
|
||||
keyboardStateListeners.forEach {
|
||||
if (previousKeyboardHeight <= 0) {
|
||||
if (previousKeyboardHeight <= 0 && keyboardInsets.bottom > 0) {
|
||||
it.onKeyboardShown()
|
||||
} else {
|
||||
} else if (previousKeyboardHeight > 0 && keyboardInsets.bottom <= 0) {
|
||||
it.onKeyboardHidden()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user