Unfocus cut time textfields on submit
This commit is contained in:
parent
d302351aec
commit
06f2660134
1 changed files with 4 additions and 2 deletions
|
|
@ -376,7 +376,8 @@ class CutVideoBottomSheetDialog(private val _item: DownloadItem? = null, private
|
|||
event.keyCode == KeyEvent.KEYCODE_ENTER
|
||||
) {
|
||||
updateFromStartTextInput(startTextInput.text.toString())
|
||||
true
|
||||
startTextInput.clearFocus()
|
||||
false // close keyboard
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
|
@ -394,7 +395,8 @@ class CutVideoBottomSheetDialog(private val _item: DownloadItem? = null, private
|
|||
event.keyCode == KeyEvent.KEYCODE_ENTER
|
||||
) {
|
||||
updateFromEndTextInput(endTextInput.text.toString())
|
||||
true
|
||||
endTextInput.clearFocus()
|
||||
false // close keyboard
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue