Skip to content

Commit c251a27

Browse files
Test legacy show on win 11
1 parent 8637c03 commit c251a27

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Flow.Launcher/Notification.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ private static void ShowInternal(string title, string subTitle, string iconPath
3636
LegacyShow(title, subTitle, iconPath);
3737
return;
3838
}
39+
40+
// Test LegacyShow() usability on win 11 22621
41+
// REMOVE BEFORE MERGING
42+
if (Environment.OSVersion.Version.Build >= 22621)
43+
{
44+
LegacyShow(title, subTitle, iconPath);
45+
return;
46+
}
3947

4048
// Using Windows Notification System
4149
var Icon = !File.Exists(iconPath)

0 commit comments

Comments
 (0)