mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix never ending download progress in webapps.
This commit is contained in:
@@ -1319,9 +1319,7 @@ void Panel::setupDownloadsProgress(
|
||||
state->animation.start(0.);
|
||||
}
|
||||
toggle(true);
|
||||
} else if ((state->progress.total && !progress.total)
|
||||
|| (state->progress.ready < state->progress.total
|
||||
&& progress.ready == progress.total)) {
|
||||
} else if (state->shown && !progress.loading) {
|
||||
state->animation.update(1., false, crl::now());
|
||||
toggle(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user