We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3a1489 + 3c3064a commit fe62a03Copy full SHA for fe62a03
Flow.Launcher/ViewModel/MainViewModel.cs
@@ -1458,7 +1458,8 @@ await Application.Current.Dispatcher.InvokeAsync(() =>
1458
mainWindow.ClockPanel.Opacity = opacity;
1459
mainWindow.SearchIcon.Opacity = opacity;
1460
1461
- if (QueryText.Length != 0)
+ // QueryText sometimes is null when it is just initialized
1462
+ if (QueryText != null && QueryText.Length != 0)
1463
{
1464
mainWindow.ClockPanel.Visibility = Visibility.Collapsed;
1465
}
@@ -1554,8 +1555,6 @@ await Application.Current.Dispatcher.InvokeAsync(() =>
1554
1555
Win32Helper.RestorePreviousKeyboardLayout();
1556
1557
- await Task.Delay(50);
1558
-
1559
// Update WPF properties
1560
//MainWindowOpacity = 0;
1561
MainWindowVisibilityStatus = false;
0 commit comments