Skip to content

Commit c39079b

Browse files
committed
Revert accidental change
1 parent 67be335 commit c39079b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,11 +1385,6 @@ public void Show()
13851385

13861386
public async void Hide()
13871387
{
1388-
1389-
if (StartWithEnglishMode)
1390-
{
1391-
Win32Helper.RestorePreviousKeyboardLayout();
1392-
}
13931388
lastHistoryIndex = 1;
13941389

13951390
if (ExternalPreviewVisible)
@@ -1452,6 +1447,11 @@ public async void Hide()
14521447
Win32Helper.DWMSetCloakForWindow(mainWindow, true);
14531448
}
14541449

1450+
if (StartWithEnglishMode)
1451+
{
1452+
Win32Helper.RestorePreviousKeyboardLayout();
1453+
}
1454+
14551455
await Task.Delay(50);
14561456

14571457
// Update WPF properties

0 commit comments

Comments
 (0)