mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +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) {
|
if (recordingState == RecordingState.CANCELLED || recordingState == RecordingState.NONE) {
|
||||||
hideToast()
|
hideToast()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isCancelled.orFalse()) {
|
||||||
|
vibrate(context)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun resetMicButtonUi() {
|
private fun resetMicButtonUi() {
|
||||||
|
|
Loading…
Reference in a new issue