BrokerDriver/Profile/VC/PersonalCenterVC.swift
@@ -42,12 +42,10 @@ } @IBAction func logOutAction(_ sender: UIButton) { showAlert(title: "Would you like to log out?", message: nil, buttonTitles: ["YES","NO"], highlightedButtonIndex: 0) { index in if index == 0{ CommonAlertView.show(title: "Prompt!", content: "Would you like to log out?", bt1: "No just yet", bt2: "Logout") { let nav = BaseNavigationController(rootViewController: LoginVC()) UserViewModel.clearUserInfo() screnDelegate?.window?.rootViewController = nav } } } }