enhance: bring window into view after receive IPC message

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-15 10:19:57 +08:00
parent e2da44c8fd
commit c4c04b8b01
No known key found for this signature in database
4 changed files with 53 additions and 22 deletions

View file

@ -18,9 +18,8 @@ namespace SourceGit.ViewModels
if (_instance != null)
return _instance;
_isLoading = true;
_instance = Load();
_isLoading = false;
_instance._isLoading = false;
_instance.PrepareGit();
_instance.PrepareShellOrTerminal();
@ -629,8 +628,8 @@ namespace SourceGit.ViewModels
}
private static Preferences _instance = null;
private static bool _isLoading = false;
private bool _isLoading = true;
private bool _isReadonly = true;
private string _locale = "en_US";
private string _theme = "Default";