Skip to content

Commit

Permalink
Fix Build
Browse files Browse the repository at this point in the history
  • Loading branch information
amirsaam committed Aug 1, 2024
1 parent a2e8a80 commit 7444372
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/RadixUI/RadixPrimitives/RadixSegmentedPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import SwiftUI

#if canImport(UIKit)
public struct RadixSegmentedPicker {
let backgroundColor: Color
let selectedColor: Color
Expand All @@ -21,3 +22,6 @@ public struct RadixSegmentedPicker {
UISegmentedControl.appearance().setTitleTextAttributes([.foregroundColor: UIColor(foregroundColor)], for: .selected)
}
}
#elseif canImport(AppKit)
/// TODO: Add `RadixSegmentedPicker` for `macOS`
#endif

0 comments on commit 7444372

Please sign in to comment.