bug fixes
This commit is contained in:
@@ -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,8 +220,7 @@ namespace ClashN.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
if (!blFirst)
|
||||
ShowHideWindow(true);
|
||||
ShowHideWindow(true);
|
||||
|
||||
Locator.Current.GetService<ProfilesViewModel>()?.AddProfilesViaClipboard(true);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user