Retry dialog for errors during backup download
This commit is contained in:
parent
6e1fd5958e
commit
12f28448b2
6 changed files with 202 additions and 11 deletions
|
@ -30,7 +30,8 @@ export const SmartInstallScreen = memo(function SmartInstallScreen() {
|
|||
const installerState = useSelector(getInstallerState);
|
||||
const updates = useSelector(getUpdatesState);
|
||||
const { openInbox } = useAppActions();
|
||||
const { startInstaller, finishInstall } = useInstallerActions();
|
||||
const { startInstaller, finishInstall, retryBackupImport } =
|
||||
useInstallerActions();
|
||||
const { startUpdate } = useUpdatesActions();
|
||||
const hasExpired = useSelector(hasExpiredSelector);
|
||||
|
||||
|
@ -110,7 +111,9 @@ export const SmartInstallScreen = memo(function SmartInstallScreen() {
|
|||
i18n,
|
||||
currentBytes: installerState.currentBytes,
|
||||
totalBytes: installerState.totalBytes,
|
||||
hasError: installerState.hasError,
|
||||
onCancel: onCancelBackupImport,
|
||||
onRetry: retryBackupImport,
|
||||
},
|
||||
};
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue