mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-10-20 10:43:28 +00:00
Fix share button was not visible in win11
This commit is contained in:
@@ -36,7 +36,7 @@ internal class ShareHelper
|
||||
|
||||
internal static bool IsShareSupported(string path)
|
||||
{
|
||||
return !Directory.Exists(path) && App.IsWin10 && Environment.OSVersion.Version >= new Version("10.0.16299.0");
|
||||
return !Directory.Exists(path) && Environment.OSVersion.Version >= new Version(10, 0, 16299);
|
||||
}
|
||||
|
||||
internal static void Share(string path, Window parent, bool forceOpenWith = false)
|
||||
|
Reference in New Issue
Block a user