mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Vibrate when the recording is canceled.
This commit is contained in:
parent
bf1db5dcf9
commit
296a1c4770
1 changed files with 4 additions and 0 deletions
|
@ -428,6 +428,10 @@ class VoiceMessageRecorderView @JvmOverloads constructor(
|
|||
if (recordingState == RecordingState.CANCELLED || recordingState == RecordingState.NONE) {
|
||||
hideToast()
|
||||
}
|
||||
|
||||
if (isCancelled.orFalse()) {
|
||||
vibrate(context)
|
||||
}
|
||||
}
|
||||
|
||||
private fun resetMicButtonUi() {
|
||||
|
|
Loading…
Reference in a new issue