mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
whoops
This commit is contained in:
@@ -1773,7 +1773,8 @@ namespace ZuneUI
|
|||||||
|
|
||||||
// Use SMTC when available
|
// Use SMTC when available
|
||||||
#if WINDOWS
|
#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
|
// On Windows 8.1 / 10 / 11
|
||||||
var _systemMediaTransportControls = Windows.Media.SystemMediaTransportControlsInterop.GetForWindow(Application.Window.Handle);
|
var _systemMediaTransportControls = Windows.Media.SystemMediaTransportControlsInterop.GetForWindow(Application.Window.Handle);
|
||||||
|
|||||||
Reference in New Issue
Block a user