diff --git a/Flow.Launcher/Helper/HotKeyMapper.cs b/Flow.Launcher/Helper/HotKeyMapper.cs
index b32b7edc4..503a110e0 100644
--- a/Flow.Launcher/Helper/HotKeyMapper.cs
+++ b/Flow.Launcher/Helper/HotKeyMapper.cs
@@ -1,4 +1,4 @@
-using Flow.Launcher.Infrastructure.Hotkey;
+using Flow.Launcher.Infrastructure.Hotkey;
using Flow.Launcher.Infrastructure.UserSettings;
using System;
using NHotkey;
@@ -82,15 +82,9 @@ namespace Flow.Launcher.Helper
///
/// Checks if Flow Launcher should ignore any hotkeys
///
- ///
private static bool ShouldIgnoreHotkeys()
{
- //double if to omit calling win32 function
- if (settings.IgnoreHotkeysOnFullscreen)
- if (WindowsInteropHelper.IsWindowFullscreen())
- return true;
-
- return false;
+ return settings.IgnoreHotkeysOnFullscreen && WindowsInteropHelper.IsWindowFullscreen();
}
private static void SetCustomPluginHotkey()