Skip profile view in onboarding.

pull/2/head
Mikunj 6 years ago
parent 520d41565f
commit c26a5c9cdf

@ -179,7 +179,7 @@ public class OnboardingController: NSObject {
contactsManager.fetchSystemContactsOnceIfAlreadyAuthorized() contactsManager.fetchSystemContactsOnceIfAlreadyAuthorized()
if tsAccountManager.isReregistering() { if tsAccountManager.isReregistering() {
showProfileView(fromView: view) showHomeView(view: view)
} else { } else {
checkCanImportBackup(fromView: view) checkCanImportBackup(fromView: view)
} }
@ -225,7 +225,7 @@ public class OnboardingController: NSObject {
self.showBackupRestoreView(fromView: view) self.showBackupRestoreView(fromView: view)
} else { } else {
self.showProfileView(fromView: view) self.showHomeView(view: view)
} }
}, failure: { (_) in }, failure: { (_) in
self.showBackupCheckFailedAlert(fromView: view) self.showBackupCheckFailedAlert(fromView: view)
@ -248,7 +248,7 @@ public class OnboardingController: NSObject {
}) })
alert.addAction(UIAlertAction(title: NSLocalizedString("CHECK_FOR_BACKUP_DO_NOT_RESTORE", comment: "The label for the 'do not restore backup' button."), alert.addAction(UIAlertAction(title: NSLocalizedString("CHECK_FOR_BACKUP_DO_NOT_RESTORE", comment: "The label for the 'do not restore backup' button."),
style: .destructive) { (_) in style: .destructive) { (_) in
self.showProfileView(fromView: view) self.showHomeView(view: view)
}) })
view.presentAlert(alert) view.presentAlert(alert)
} }

Loading…
Cancel
Save