Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Sep 3, 2024
1 parent 34c7963 commit 31947fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion v2rayN/v2rayN/Views/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ private void MenuCheckUpdate_Click(object sender, RoutedEventArgs e)

private void OnProgramStarted(object state, bool timeout)
{
ShowHideWindow(true);
Application.Current?.Dispatcher.Invoke((Action)(() =>
{
ShowHideWindow(true);
}));
}

private void DelegateSnackMsg(string content)
Expand Down

0 comments on commit 31947fd

Please sign in to comment.