fixed bugs
This commit is contained in:
@@ -99,14 +99,16 @@ class SideMenuVC: UIViewController {
|
||||
// if its guest user navigate him to login
|
||||
if AuthFunc.shareInstance.getUserType() == 3{
|
||||
self.sideMenuController?.hideMenu()
|
||||
UIApplication.setRootView(LoginNavVC.instantiate(from: .AuthenticationSB))
|
||||
DispatchQueue.main.async {
|
||||
UIApplication.setRootView(LoginNavVC.instantiate(from: .AuthenticationSB))
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
let sb = UIStoryboard(name: K.StoryBoard.customAlerts, bundle: nil)
|
||||
let vcPush = sb.instantiateViewController(withIdentifier: K.StoryBoardID.CustomAlerts.yesNoAlertVC) as! YesNoAlertVC
|
||||
vcPush.mainTitleText = "WOKA"
|
||||
vcPush.contentLabel = "Do you want to LOGOUT from the WOKA APP"
|
||||
vcPush.contentLabel = "Do you want to LOGOUT from the WOKA APP".localized(loc: AuthFunc.shareInstance.languageSelected.rawValue)
|
||||
vcPush.onDoneBlock = { [weak self] mode in
|
||||
guard let self else{return}
|
||||
switch mode{
|
||||
|
||||
Reference in New Issue
Block a user