Skip to content

Commit 4ded458

Browse files
committed
increase platform required for win10 notification
1 parent 1ab9c08 commit 4ded458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher/Notification.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ internal static class Notification
1111
[System.Diagnostics.CodeAnalysis.SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>")]
1212
public static void Show(string title, string subTitle, string iconPath)
1313
{
14-
var legacy = Environment.OSVersion.Version.Major < 10;
15-
// Handle notification for win7/8
14+
var legacy = Environment.OSVersion.Version.Build < 19041;
15+
// Handle notification for win7/8/early win10
1616
if (legacy)
1717
{
1818
LegacyShow(title, subTitle, iconPath);

0 commit comments

Comments
 (0)