Skip to content

Commit 6e2c56b

Browse files
committed
Cleaup Code
1 parent b9f013e commit 6e2c56b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,6 @@ public void Show()
14731473
{
14741474
Application.Current.Dispatcher.BeginInvoke(() =>
14751475
mainWindow.WindowAnimation());
1476-
Debug.WriteLine("Call Animation");
14771476
}
14781477
}
14791478

@@ -1540,10 +1539,6 @@ public async void Hide()
15401539
if (Application.Current.MainWindow is MainWindow mainWindow)
15411540
{
15421541
// 📌 Set Opacity of icon and clock to 0 and apply Visibility.Hidden
1543-
Application.Current.Dispatcher.Invoke(() =>
1544-
{
1545-
1546-
}, DispatcherPriority.Render);
15471542
if(Settings.UseAnimation)
15481543
{
15491544
mainWindow.ClockPanel.Opacity = 0;
@@ -1555,7 +1550,6 @@ public async void Hide()
15551550
mainWindow.SearchIcon.Opacity = 1;
15561551
}
15571552
mainWindow.ClockPanel.Visibility = Visibility.Hidden;
1558-
//mainWindow.SearchIcon.Visibility = Visibility.Hidden;
15591553
SearchIconVisibility = Visibility.Hidden;
15601554

15611555
// Force UI update

0 commit comments

Comments
 (0)