We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcd98cd commit 31c9f78Copy full SHA for 31c9f78
Sources/SwiftWin32/App and Environment/TraitCollection.swift
@@ -198,7 +198,7 @@ private func GetCurrentColorScheme() -> UserInterfaceStyle {
198
}
199
200
private func GetCurrentDeviceFamily() -> UserInterfaceIdiom {
201
- return GetSystemMetrics(SM_TABLETPC) == 0 ? .unspecified : .pad
+ return GetSystemMetrics(SM_TABLETPC) == 0 ? .unspecified : .tablet
202
203
204
private func GetCurrentAccessibilityContrast() -> AccessibilityContrast {
0 commit comments