From c26a5c9cdf1b309ba818134d22fc8fa4b945e31e Mon Sep 17 00:00:00 2001 From: Mikunj Date: Mon, 29 Apr 2019 12:50:51 +1000 Subject: [PATCH] Skip profile view in onboarding. --- .../ViewControllers/Registration/OnboardingController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Signal/src/ViewControllers/Registration/OnboardingController.swift b/Signal/src/ViewControllers/Registration/OnboardingController.swift index 4f159ef50..5b25f375b 100644 --- a/Signal/src/ViewControllers/Registration/OnboardingController.swift +++ b/Signal/src/ViewControllers/Registration/OnboardingController.swift @@ -179,7 +179,7 @@ public class OnboardingController: NSObject { contactsManager.fetchSystemContactsOnceIfAlreadyAuthorized() if tsAccountManager.isReregistering() { - showProfileView(fromView: view) + showHomeView(view: view) } else { checkCanImportBackup(fromView: view) } @@ -225,7 +225,7 @@ public class OnboardingController: NSObject { self.showBackupRestoreView(fromView: view) } else { - self.showProfileView(fromView: view) + self.showHomeView(view: view) } }, failure: { (_) in 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."), style: .destructive) { (_) in - self.showProfileView(fromView: view) + self.showHomeView(view: view) }) view.presentAlert(alert) }