From 7aa4f4dc035aea4cef7db9a4a4a1bc08dc160063 Mon Sep 17 00:00:00 2001 From: mamadnazar Date: Thu, 13 Mar 2025 13:27:38 +0500 Subject: [PATCH] [ios] navigation to main from sign up bug fix --- .../Presentation/Auth/Screens/SignUpViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iphone/Maps/Tourism/Presentation/Auth/Screens/SignUpViewController.swift b/iphone/Maps/Tourism/Presentation/Auth/Screens/SignUpViewController.swift index ba54f3f138..0eb18209d8 100644 --- a/iphone/Maps/Tourism/Presentation/Auth/Screens/SignUpViewController.swift +++ b/iphone/Maps/Tourism/Presentation/Auth/Screens/SignUpViewController.swift @@ -277,6 +277,7 @@ class SignUpViewController: UIViewController { private func navigateToMain() { signUpButton.isLoading = false - performSegue(withIdentifier: "SignUp2TourismMain", sender: nil) + self.dismiss(animated: true) + UserPreferences.shared.setShouldGoToTourismMain(value: true) } }