-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
83cd67f
commit df2ec89
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters