mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 10:55:55 +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