Fix download media banner styles

This commit is contained in:
trevor-signal 2024-10-29 13:35:14 -04:00 committed by GitHub
parent e93a173159
commit 2f6270c585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 89 additions and 30 deletions

View file

@ -35,7 +35,8 @@ export function BackupMediaDownloadProgress({
}: PropsType): JSX.Element | null {
const [isShowingCancelConfirmation, setIsShowingCancelConfirmation] =
useState(false);
if (totalBytes === 0) {
if (totalBytes <= 0) {
return null;
}