Respond to CR.

pull/1/head
Matthew Chen 7 years ago
parent 9774b5d620
commit d085520c38

@ -176,8 +176,6 @@ NSString *const kOWSBackup_ImportDatabaseKeySpec = @"kOWSBackup_ImportDatabaseKe
[self.tsAccountManager updateAccountAttributes]; [self.tsAccountManager updateAccountAttributes];
[self succeed]; [self succeed];
return [AnyPromise promiseWithValue:@(1)];
}); });
} }
@ -220,8 +218,6 @@ NSString *const kOWSBackup_ImportDatabaseKeySpec = @"kOWSBackup_ImportDatabaseKe
[self updateProgressWithDescription:NSLocalizedString(@"BACKUP_IMPORT_PHASE_DOWNLOAD", [self updateProgressWithDescription:NSLocalizedString(@"BACKUP_IMPORT_PHASE_DOWNLOAD",
@"Indicates that the backup import data is being downloaded.") @"Indicates that the backup import data is being downloaded.")
progress:@(progress)]; progress:@(progress)];
return [AnyPromise promiseWithValue:@(1)];
}); });
// TODO: Use a predictable file path so that multiple "import backup" attempts // TODO: Use a predictable file path so that multiple "import backup" attempts

Loading…
Cancel
Save