mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix cancel in backup restore view.
This commit is contained in:
parent
7e77a69f86
commit
3bff89c7ee
|
@ -100,7 +100,7 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
[OWSBackup.sharedManager
|
[OWSBackup.sharedManager
|
||||||
checkCanImportBackup:^(BOOL value) {
|
checkCanImportBackup:^(BOOL value) {
|
||||||
OWSLogInfo(@"has backup available for import? %d", value);
|
OWSLogInfo(@"has backup available for import? %d", value);
|
||||||
}
|
}
|
||||||
failure:^(NSError *error){
|
failure:^(NSError *error){
|
||||||
// Do nothing.
|
// Do nothing.
|
||||||
|
|
|
@ -123,7 +123,7 @@ public class BackupRestoreViewController: OWSTableViewController {
|
||||||
|
|
||||||
backup.setHasPendingRestoreDecision(false)
|
backup.setHasPendingRestoreDecision(false)
|
||||||
|
|
||||||
dismiss(animated: true)
|
showHomeView()
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc
|
@objc
|
||||||
|
|
Loading…
Reference in a new issue