From 6ee8786f65fa19d2be1fe3303da4ac6fc19e700d Mon Sep 17 00:00:00 2001 From: BilalKhanWDI Date: Tue, 14 May 2024 11:12:28 +0530 Subject: [PATCH] - Updated the flow of auth. - Finalised the Localization for the auth flow. --- WOKA/Alerts/AlertCustomVC.swift | 2 + .../Base.lproj/AuthenticationSB.storyboard | 137 +++++++++--------- WOKA/Authentication/Controller/EmailVC.swift | 2 +- WOKA/Authentication/Controller/LoginVC.swift | 6 +- .../Controller/ResetPassUserNameVC.swift | 2 +- .../Controller/SelectAvatarVC.swift | 4 +- .../Controller/UserDetailsRegisterVC.swift | 29 ++-- .../Controller/UserIntrestVC.swift | 10 +- WOKA/Authentication/ViewModel/EmailVM.swift | 4 +- WOKA/Authentication/ViewModel/LoginVM.swift | 5 +- .../ViewModel/NewPasswordVM.swift | 5 +- WOKA/Authentication/ViewModel/OTPVM.swift | 20 ++- .../ViewModel/ResetPassUserNameVM.swift | 4 +- .../ViewModel/SelectAvatarVM.swift | 15 +- .../ViewModel/UserDetailsRegisterVM.swift | 7 +- .../ViewModel/UserIntrestVM.swift | 10 +- WOKA/Constants K/ConstantString.swift | 3 +- .../ActivityToast&Indicator/Utilities.swift | 2 +- .../hi.lproj/Localizable.strings | 63 +++++++- 19 files changed, 212 insertions(+), 118 deletions(-) diff --git a/WOKA/Alerts/AlertCustomVC.swift b/WOKA/Alerts/AlertCustomVC.swift index 1241b02..0206310 100644 --- a/WOKA/Alerts/AlertCustomVC.swift +++ b/WOKA/Alerts/AlertCustomVC.swift @@ -41,6 +41,8 @@ class AlertCustomVC: UIViewController { self.contentTextLbl.text = contentLabel.localized(loc: AuthFunc.shareInstance.languageSelected.rawValue) if let yesBtnText = yesBtnText { self.yesBtn.setTitle(yesBtnText, for: .normal) + }else{ + self.yesBtn.setTitle("Ok,Got it.".localized(loc: AuthFunc.shareInstance.languageSelected.rawValue), for: .normal) } if let mainTitleText = mainTitleText { diff --git a/WOKA/Authentication/Base.lproj/AuthenticationSB.storyboard b/WOKA/Authentication/Base.lproj/AuthenticationSB.storyboard index d74eb55..4ac198b 100644 --- a/WOKA/Authentication/Base.lproj/AuthenticationSB.storyboard +++ b/WOKA/Authentication/Base.lproj/AuthenticationSB.storyboard @@ -60,7 +60,7 @@ - + @@ -350,44 +350,8 @@ Sent to Your Parent’s Email - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -422,6 +386,42 @@ Sent to Your Parent’s Email + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -431,7 +431,7 @@ Sent to Your Parent’s Email - + @@ -503,6 +503,7 @@ Sent to Your Parent’s Email + @@ -533,7 +534,7 @@ Sent to Your Parent’s Email - -