Unfocus cut time textfields on submit

This commit is contained in:
Max Jakobitsch 2025-03-01 20:17:41 +01:00
parent d302351aec
commit 06f2660134

View file

@ -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
}