Skip to content

Commit

Permalink
fix: adding missing macro back (#628)
Browse files Browse the repository at this point in the history
* fix: 馃悰 adding missing constants to allCases

adding missing constants to allCases

* fix: 馃悰 adding vision os availability macro, which was deleted

vision OS availability macro was deleted, adding back.

* fix: 馃悰 adding missing visionOS macro back, deleted accidentally
  • Loading branch information
CharlesXu0488 committed Feb 1, 2024
1 parent 41e3f8d commit 27e9466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FioriThemeManager/ThemeManager.swift
Expand Up @@ -171,7 +171,7 @@ public class ThemeManager {

func uiColor(for style: ColorStyle, background scheme: BackgroundColorScheme?, interface level: InterfaceLevel?, display mode: ColorDisplayMode?) -> UIColor {
guard let hc = self.hexColor(for: style) else { return .clear }
#if os(iOS)
#if os(iOS) || os(visionOS)
let uc = UIColor { [weak self] traitCollection in
guard let self = self else { return .clear }
guard let hexColor = self.hexColor(for: style) else { return .clear }
Expand Down

0 comments on commit 27e9466

Please sign in to comment.