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