Skip to content

Commit f86eb68

Browse files
committed
Req
1 parent 438bdf6 commit f86eb68

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Files.App/Helpers/Interop/InteropHelpers.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ public static class InteropHelpers
2929
[DllImport("kernel32.dll")]
3030
public static extern bool SetEvent(IntPtr hEvent);
3131

32-
[DllImport("user32.dll", SetLastError = true)]
33-
public static extern void SwitchToThisWindow(IntPtr hWnd, bool altTab);
34-
3532
[DllImport("User32.dll", SetLastError = true, CharSet = CharSet.Unicode)]
3633
public static extern int GetDpiForWindow(IntPtr hwnd);
3734

src/Files.App/MainWindow.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,7 @@ async Task PerformNavigationAsync(string payload, string selectItem = null)
263263
await NavigationHelpers.AddNewTabByParamAsync(typeof(PaneHolderPage), paneNavigationArgs);
264264
}
265265
else
266-
{
267266
rootFrame.Navigate(typeof(MainPage), paneNavigationArgs, new SuppressNavigationTransitionInfo());
268-
}
269267
}
270268
foreach (var command in parsedCommands)
271269
{

0 commit comments

Comments
 (0)