allow the listener to always recount the indent

This commit is contained in:
Nitser 2019-09-11 13:38:19 +03:00
parent fcde2e632e
commit 466fabcae0
1 changed files with 1 additions and 3 deletions

View File

@ -62,9 +62,7 @@ abstract class KeyboardResizeableViewController<TActivity : BaseActivity, TState
keyboardIsVisible = false
}
keyboardShowListener = { diff ->
if (!keyboardIsVisible) {
onKeyboardShow(diff)
}
onKeyboardShow(diff)
keyboardIsVisible = true
}
startDetection()