Skip to content

Commit

Permalink
Make code visionOS-campatible
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Jan 17, 2024
1 parent d5c8a4f commit 88ed71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SkeletonUI/Enumerations/AppearanceType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public enum GradientType: Equatable {

public struct SkeletonColor {
public static var primary: Color {
#if os(iOS)
#if os(iOS) || os(visionOS)
return Color(.systemGray4)
#elseif os(tvOS)
return Color(.tertiaryLabel)
Expand All @@ -20,7 +20,7 @@ public struct SkeletonColor {
}

public static var background: Color {
#if os(iOS)
#if os(iOS) || os(visionOS)
return Color(.systemGray6)
#elseif os(tvOS)
return Color(.secondaryLabel)
Expand Down

0 comments on commit 88ed71a

Please sign in to comment.