From 7e24b33cbe4c1872e9602e93b0e05869cfb0c96b Mon Sep 17 00:00:00 2001 From: Matt Goldman Date: Mon, 7 Nov 2022 09:02:02 +1100 Subject: [PATCH] Update DeviceInfo.uwp.cs --- src/Essentials/src/DeviceInfo/DeviceInfo.uwp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Essentials/src/DeviceInfo/DeviceInfo.uwp.cs b/src/Essentials/src/DeviceInfo/DeviceInfo.uwp.cs index 317223b6052b..3c2713494297 100644 --- a/src/Essentials/src/DeviceInfo/DeviceInfo.uwp.cs +++ b/src/Essentials/src/DeviceInfo/DeviceInfo.uwp.cs @@ -120,7 +120,7 @@ public DeviceType DeviceType static bool GetIsInTabletMode() { var supportsTablet = GetSystemMetrics(SM_TABLETPC) != 0; - var inTabletMode = GetSystemMetrics(SM_CONVERTIBLESLATEMODE) != 0; + var inTabletMode = GetSystemMetrics(SM_CONVERTIBLESLATEMODE) == 0; return inTabletMode && supportsTablet; } }