Skip to content

Commit 88ed71a

Browse files
Make code visionOS-campatible
1 parent d5c8a4f commit 88ed71a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SkeletonUI/Enumerations/AppearanceType.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public enum GradientType: Equatable {
88

99
public struct SkeletonColor {
1010
public static var primary: Color {
11-
#if os(iOS)
11+
#if os(iOS) || os(visionOS)
1212
return Color(.systemGray4)
1313
#elseif os(tvOS)
1414
return Color(.tertiaryLabel)
@@ -20,7 +20,7 @@ public struct SkeletonColor {
2020
}
2121

2222
public static var background: Color {
23-
#if os(iOS)
23+
#if os(iOS) || os(visionOS)
2424
return Color(.systemGray6)
2525
#elseif os(tvOS)
2626
return Color(.secondaryLabel)

0 commit comments

Comments
 (0)