mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 17:08:11 +01:00
Allow cancel during backup import processing
This commit is contained in:
@@ -147,6 +147,14 @@ FatalError.args = {
|
||||
error: InstallScreenBackupError.Fatal,
|
||||
};
|
||||
|
||||
export const Canceled = Template.bind({});
|
||||
Canceled.args = {
|
||||
backupStep: InstallScreenBackupStep.Process,
|
||||
currentBytes: 500 * 1024,
|
||||
totalBytes: 1024 * 1024,
|
||||
error: InstallScreenBackupError.Canceled,
|
||||
};
|
||||
|
||||
export const UnsupportedVersion = Template.bind({});
|
||||
UnsupportedVersion.args = {
|
||||
backupStep: InstallScreenBackupStep.Process,
|
||||
|
||||
Reference in New Issue
Block a user