Skip to content

Commit 5155fdc

Browse files
committed
add comments
1 parent 50bc940 commit 5155fdc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Flow.Launcher/HotkeyControl.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#nullable enable
1+
#nullable enable
22

33
using System.Collections.ObjectModel;
44
using System.Threading.Tasks;
@@ -155,6 +155,7 @@ private void SetHotkey(HotkeyModel keyModel, bool triggerValidate = true)
155155
if (triggerValidate)
156156
{
157157
bool hotkeyAvailable = false;
158+
// TODO: This is a temporary way to enforce changing only the open flow hotkey to Win, and will be removed by PR #3157
158159
if (keyModel.ToString() == "LWin" || keyModel.ToString() == "RWin")
159160
{
160161
hotkeyAvailable = true;

Flow.Launcher/HotkeyControlDialog.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public HotkeyControlDialog(string hotkey, string defaultHotkey, IHotkeySettings
5050

5151
InitializeComponent();
5252

53+
// TODO: This is a temporary way to enforce changing only the open flow hotkey to Win, and will be removed by PR #3157
5354
isOpenFlowHotkey = _hotkeySettings.RegisteredHotkeys
5455
.Any(x => x.DescriptionResourceKey == "flowlauncherHotkey"
5556
&& x.Hotkey.ToString() == hotkey);

0 commit comments

Comments
 (0)