renamed
This commit is contained in:
parent
443b4e56c9
commit
b3144f48e2
|
|
@ -51,7 +51,7 @@ abstract class KeyboardResizeableViewController<TActivity : BaseActivity, TState
|
|||
|
||||
override fun onPause() {
|
||||
super.onPause()
|
||||
notifyKeyboardVisibility()
|
||||
notifyKeyboardHidden()
|
||||
if (isHideKeyboardOnBackEnabled) activity.removeOnBackPressedListener(keyboardHideListener)
|
||||
}
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ abstract class KeyboardResizeableViewController<TActivity : BaseActivity, TState
|
|||
}
|
||||
}
|
||||
|
||||
private fun notifyKeyboardVisibility() {
|
||||
private fun notifyKeyboardHidden() {
|
||||
if (isKeyboardVisible) onKeyboardHide()
|
||||
isKeyboardVisible = false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue