mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-29 23:38:50 +02:00
fix(queue): clarify and coalesce verification progress
This commit is contained in:
@@ -93,6 +93,21 @@ String _formatDownloadProgressLabel(BuildContext context, DownloadItem item) {
|
||||
);
|
||||
}
|
||||
|
||||
if (item.error == 'Waiting for verification') {
|
||||
return context.l10n.queueWaitingForVerification;
|
||||
}
|
||||
switch (item.preparationStage) {
|
||||
case 'checking_session':
|
||||
return context.l10n.queueCheckingDownloadSession;
|
||||
case 'resolving_metadata':
|
||||
return context.l10n.queueResolvingDownloadMetadata;
|
||||
case 'resolving_stream':
|
||||
return context.l10n.queueResolvingDownloadStream;
|
||||
}
|
||||
if (item.error == 'Retrying after verification') {
|
||||
return context.l10n.queueResumingAfterVerification;
|
||||
}
|
||||
|
||||
return context.l10n.queueDownloadStarting;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user