mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Fixed scheduling of recorded voice messages.
This commit is contained in:
parent
bcdcd7ee70
commit
9f11c783eb
@ -1673,7 +1673,7 @@ void VoiceRecordBar::installListenStateFilter() {
|
|||||||
void VoiceRecordBar::showDiscardBox(
|
void VoiceRecordBar::showDiscardBox(
|
||||||
Fn<void()> &&callback,
|
Fn<void()> &&callback,
|
||||||
anim::type animated) {
|
anim::type animated) {
|
||||||
if (!isActive()) {
|
if (!isActive() || _showAnimation.animating()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto sure = [=, callback = std::move(callback)](Fn<void()> &&close) {
|
auto sure = [=, callback = std::move(callback)](Fn<void()> &&close) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user