Technically "Logout" here should be "Login" since you are going back to the Login view, but I understand what you are doing here in that you are compressing an action with a navigation. The back button navigation should be removed, and "Logout" should be an action (with confirmation) in the top right of the view like this "Done" button:
Technically "Logout" here should be "Login" since you are going back to the Login view, but I understand what you are doing here in that you are compressing an action with a navigation. The back button navigation should be removed, and "Logout" should be an action (with confirmation) in the top right of the view like this "Done" button:
Reference: