fix: better progress indicator

This commit is contained in:
Calum H. (IMB11)
2026-08-04 16:13:45 +01:00
parent 02991a68c2
commit db4d59652a
5 changed files with 135 additions and 37 deletions
@@ -345,7 +345,7 @@ function buildDownloadItems(): PopupNotificationProgressItem[] {
iconUrl: currentLoadingBarIconUrls.value[getLoadingBarKey(bar)] ?? null,
progress: getLoadingProgress(bar),
waiting: !bar.total || bar.total <= 0,
progressType: 'percentage',
progressType: bar.bar_type?.type === 'pack_import' ? 'bytes' : 'percentage',
progressCurrent: bar.current,
progressTotal: bar.total,
})),