This commit is contained in:
Yoshi Askharoun
2022-08-04 23:41:41 -05:00
parent 9e03ebb9d1
commit 1fa5469559
+2 -1
View File
@@ -1773,7 +1773,8 @@ namespace ZuneUI
// Use SMTC when available
#if WINDOWS
if (Microsoft.WinRT.ApiInformation.IsTypePresent("Windows.Media.SystemMediaTransportControls"))
if (Microsoft.WinRT.ApiInformation.IsTypePresent("Windows.Media.SystemMediaTransportControls")
&& !OSVersion.IsLessThanWin10())
{
// On Windows 8.1 / 10 / 11
var _systemMediaTransportControls = Windows.Media.SystemMediaTransportControlsInterop.GetForWindow(Application.Window.Handle);