Skip to content

Commit

Permalink
Delay 1s to hide the mainwindow
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Oct 23, 2022
1 parent ddae040 commit 830191e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clashN/clashN/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public MainWindowViewModel(ISnackbarMessageQueue snackbarMessageQueue)

RestoreUI();
Observable.Range(1, 1)
.Delay(TimeSpan.FromSeconds(9))
.Delay(TimeSpan.FromSeconds(1))
.Subscribe(x =>
{
Application.Current.Dispatcher.Invoke((Action)(() =>
Expand Down

0 comments on commit 830191e

Please sign in to comment.