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.
1 parent 136acbd commit 3c3064aCopy full SHA for 3c3064a
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
}
0 commit comments