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