gh-XcodesOrg-XcodesApp/Xcodes/Frontend/Preferences
Brandon Evans 75457dd9eb
Show stored username in General preference pane
This reverts the change from 90c067997b so that the username is shown in situations where we don't have a valid session but could almost certainly get one. Instead, to achieve what that commit was trying to do, we'll instead remove the username from UserDefaults if auth fails with an invalid username or password error. I think this will more closely match what users expect in this UI.

I've added a comment in the UI explaining why it is the way it is. It might also be worth considering renaming AuthenticationState or its cases to better reflect that it's probably more about the (short-lived) session state than whether the user has signed in before and has stored their credentials.
2021-01-25 19:56:28 -07:00
..
AdvancedPreferencePane.swift Prepare user for helper installation 2021-01-23 19:38:11 -07:00
GeneralPreferencePane.swift Show stored username in General preference pane 2021-01-25 19:56:28 -07:00
UpdatesPreferencePane.swift Updates the App Update copy to be more relevant about app vs xcode 2021-01-20 21:19:44 -06:00