Normalize text inputs on submit

This commit is contained in:
Max Jakobitsch 2025-03-01 19:30:02 +01:00
parent 9731739e5e
commit d302351aec

View file

@ -476,7 +476,7 @@ class CutVideoBottomSheetDialog(private val _item: DownloadItem? = null, private
return return
} }
setStartTimestamp(timestamp, updateTextInput = false) setStartTimestamp(timestamp, updateTextInput = true) // also update text input to normalize
player.seekTo(timestamp) player.seekTo(timestamp)
player.play() player.play()
} }
@ -488,7 +488,7 @@ class CutVideoBottomSheetDialog(private val _item: DownloadItem? = null, private
return return
} }
setEndTimestamp(timestamp, updateTextInput = false) setEndTimestamp(timestamp, updateTextInput = true) // also update text input to normalize
player.seekTo(timestamp - 1500) player.seekTo(timestamp - 1500)
player.play() player.play()