gh-XcodesOrg-XcodesApp/Xcodes/Frontend
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
..
About Fixes acknowledgment screen in darkmode 2020-12-30 15:43:33 -06:00
Common Put tooltip on installationStepView 2021-01-23 17:13:07 -06:00
Preferences Show stored username in General preference pane 2021-01-25 19:56:28 -07:00
SignIn Replace .alert with .emittingError 2021-01-04 16:23:35 -07:00
XcodeList Merge pull request #84 from RobotsAndPencils/prepare-user-for-helper-installation 2021-01-25 18:33:48 -07:00
MainWindow.swift Prepare user for helper installation before post-install steps 2021-01-23 20:25:28 -07:00
View+Conditional.swift Add trailing inspector pane 2020-12-28 12:42:28 -07:00
View+IsHidden.swift Add refresh menu item and progress view 2020-12-27 18:29:24 -07:00