Skip to content

Commit 77c332d

Browse files
committed
Fix share button was not visible in win11
1 parent d20eb71 commit 77c332d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QuickLook/Helpers/ShareHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ internal class ShareHelper
3636

3737
internal static bool IsShareSupported(string path)
3838
{
39-
return !Directory.Exists(path) && App.IsWin10 && Environment.OSVersion.Version >= new Version("10.0.16299.0");
39+
return !Directory.Exists(path) && Environment.OSVersion.Version >= new Version(10, 0, 16299);
4040
}
4141

4242
internal static void Share(string path, Window parent, bool forceOpenWith = false)

0 commit comments

Comments
 (0)