Fix never ending download progress in webapps.

This commit is contained in:
John Preston
2026-05-26 12:43:59 +04:00
parent 2aa5795f56
commit edef400f30
@@ -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);
}