Tags: patrickiel/fast-account-switcher
Tags
Add error handling for LastSwitchedUsername setting Added a using directive for FastAccountSwitcher.CLI.Services in MainViewModel.cs. Implemented a try-catch block in MainViewModel to handle exceptions when accessing Settings.Default.LastSwitchedUsername, logging errors and resetting settings if necessary. Removed unused using directive for System.Windows.Threading in MainWindow.xaml.cs.
Updated tab order and focus in InputWindow.xaml Updated the `InputWindow.xaml` to improve user experience. The `PasswordBox` is now focused when the window is opened and a logical tab order has been set. The tab order is as follows: `PasswordBox`, "Remember password" `CheckBox`, "Cancel" `Button`, and "OK" `Button`.