mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Revert "Fixed accidental stop of voice recording in sections."
This reverts commit 5f9e497d38
.
Fixes #9871.
This commit is contained in:
parent
085eef15c2
commit
d15a5c9bdc
1 changed files with 1 additions and 1 deletions
|
@ -1288,7 +1288,6 @@ void VoiceRecordBar::stop(bool send) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VoiceRecordBar::finish() {
|
void VoiceRecordBar::finish() {
|
||||||
stopRecording(StopType::Cancel);
|
|
||||||
_recordingLifetime.destroy();
|
_recordingLifetime.destroy();
|
||||||
_lockShowing = false;
|
_lockShowing = false;
|
||||||
_recording = false;
|
_recording = false;
|
||||||
|
@ -1308,6 +1307,7 @@ void VoiceRecordBar::hideFast() {
|
||||||
hide();
|
hide();
|
||||||
_lock->hide();
|
_lock->hide();
|
||||||
_level->hide();
|
_level->hide();
|
||||||
|
stopRecording(StopType::Cancel);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VoiceRecordBar::stopRecording(StopType type) {
|
void VoiceRecordBar::stopRecording(StopType type) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue