mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fixed unwanted flickering of record button when recorded data is empty.
This commit is contained in:
parent
1758f0fd8f
commit
cbaca6382e
1 changed files with 3 additions and 0 deletions
|
@ -1280,6 +1280,9 @@ void VoiceRecordBar::recordUpdated(quint16 level, int samples) {
|
|||
}
|
||||
|
||||
void VoiceRecordBar::stop(bool send) {
|
||||
if (isHidden() && !send) {
|
||||
return;
|
||||
}
|
||||
auto disappearanceCallback = [=] {
|
||||
hide();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue