Add backup attachment restore idle state

This commit is contained in:
trevor-signal 2024-10-24 16:21:02 -04:00 committed by GitHub
parent 56ccd02232
commit 8601baa7f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 122 additions and 17 deletions

View file

@ -258,10 +258,12 @@ export const getBackupMediaDownloadProgress = createSelector(
downloadedBytes: number;
isPaused: boolean;
downloadBannerDismissed: boolean;
isIdle: boolean;
} => ({
totalBytes: state.backupMediaDownloadTotalBytes ?? 0,
downloadedBytes: state.backupMediaDownloadCompletedBytes ?? 0,
isPaused: state.backupMediaDownloadPaused ?? false,
isIdle: state.backupMediaDownloadIdle ?? false,
downloadBannerDismissed: state.backupMediaDownloadBannerDismissed ?? false,
})
);