bug fixes

This commit is contained in:
2dust
2023-04-19 17:43:43 +08:00
parent ab6afa3b1a
commit 69900d9bd6

View File

@@ -25,7 +25,6 @@ namespace ClashN.ViewModels
private NoticeHandler? _noticeHandler;
private StatisticsHandler? statistics;
private readonly PaletteHelper _paletteHelper = new PaletteHelper();
private bool blFirst = true;
#region Views
@@ -138,7 +137,6 @@ namespace ClashN.ViewModels
Application.Current.Dispatcher.Invoke((Action)(() =>
{
ShowHideWindow(false);
blFirst = false;
}));
});
}
@@ -222,7 +220,6 @@ namespace ClashN.ViewModels
}
}
if (!blFirst)
ShowHideWindow(true);
Locator.Current.GetService<ProfilesViewModel>()?.AddProfilesViaClipboard(true);