mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Vibrate when the recording is canceled.
This commit is contained in:
parent
bf1db5dcf9
commit
296a1c4770
@ -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 New Issue
Block a user