Fix typos

This commit is contained in:
Jack251970 2025-03-30 15:01:41 +08:00
parent 15730b15aa
commit aec4539326

View file

@ -1464,10 +1464,10 @@ namespace Flow.Launcher.ViewModel
public void Show() public void Show()
{ {
// When application is exitting, the Application.Current will be null // When application is exiting, the Application.Current will be null
Application.Current?.Dispatcher.Invoke(() => Application.Current?.Dispatcher.Invoke(() =>
{ {
// When application is exitting, the Application.Current will be null // When application is exiting, the Application.Current will be null
if (Application.Current?.MainWindow is MainWindow mainWindow) if (Application.Current?.MainWindow is MainWindow mainWindow)
{ {
// 📌 Remove DWM Cloak (Make the window visible normally) // 📌 Remove DWM Cloak (Make the window visible normally)
@ -1539,10 +1539,10 @@ namespace Flow.Launcher.ViewModel
break; break;
} }
// When application is exitting, the Application.Current will be null // When application is exiting, the Application.Current will be null
Application.Current?.Dispatcher.Invoke(() => Application.Current?.Dispatcher.Invoke(() =>
{ {
// When application is exitting, the Application.Current will be null // When application is exiting, the Application.Current will be null
if (Application.Current?.MainWindow is MainWindow mainWindow) if (Application.Current?.MainWindow is MainWindow mainWindow)
{ {
// Set clock and search icon opacity // Set clock and search icon opacity