You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB

6 years ago
6 years ago
6 years ago
  1. //
  2. // SettingViewController.swift
  3. // GMERemittance
  4. //
  5. // Created by Sujal on 2/18/18.
  6. // Copyright © 2018 Gobal Money Express Co. Ltd. All rights reserved.
  7. //
  8. import UIKit
  9. class SettingViewController: UIViewController {
  10. override func viewDidLoad() {
  11. super.viewDidLoad()
  12. }
  13. override func viewWillAppear(_ animated: Bool) {
  14. super.viewWillAppear(animated)
  15. self.setupNormalNavigation()
  16. self.navigationItem.title = "Setting"
  17. }
  18. override func viewWillDisappear(_ animated: Bool) {
  19. super.viewWillDisappear(animated)
  20. self.navigationItem.title = ""
  21. }
  22. @IBAction func redirectToChangePassword(_ sender: Any) {
  23. let storyboard = UIStoryboard.init(name: "Profile", bundle: Bundle.main)
  24. if let changePasswordViewController = storyboard.instantiateViewController(withIdentifier: "changePassword") as? ProfileChangePasswordViewController {
  25. self.navigationController!.pushViewController(changePasswordViewController, animated: true)
  26. }
  27. }
  28. }