gh-XcodesOrg-XcodesApp/Xcodes
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
..
AcknowledgementsGenerator AcknowledgementsGenerator supports *.LICENSE files for code not from SPM 2020-12-28 10:38:59 -07:00
AppleAPI Replace print/dump/NSLog with os.log Logger 2021-01-16 13:14:27 -07:00
Backend Show stored username in General preference pane 2021-01-25 19:56:28 -07:00
Frontend Show stored username in General preference pane 2021-01-25 19:56:28 -07:00
Preview Content/Preview Assets.xcassets Rename the project and directories 2020-11-24 21:11:25 -07:00
Resources Increment build number 2021-01-20 08:50:55 -07:00
XcodesApp.swift Split up preferences, add Updates pane 2021-01-19 21:46:02 -07:00