2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Fixed unwanted flickering of record button when recorded data is empty.

This commit is contained in:
23rd
2020-11-19 01:27:10 +03:00
committed by John Preston
parent 1758f0fd8f
commit cbaca6382e

View File

@@ -1280,6 +1280,9 @@ void VoiceRecordBar::recordUpdated(quint16 level, int samples) {
}
void VoiceRecordBar::stop(bool send) {
if (isHidden() && !send) {
return;
}
auto disappearanceCallback = [=] {
hide();