Skip to content

Commit

Permalink
Merge pull request #20 from chenhaiteng/develop
Browse files Browse the repository at this point in the history
[Bugfix] api version compatiablity
  • Loading branch information
chenhaiteng authored May 14, 2021
2 parents 9a38be1 + 9a497ce commit cf03f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Rings/ArchimedeanSpiralText.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct ColoredPicker: ViewModifier {
@Binding var selection: Color
func body(content: Content) -> some View {
#if os(macOS) || os(iOS)
if #available(macOS 11.0, *) {
if #available(macOS 11.0, iOS 14.0, macCatalyst 14.0, *) {
ColorPicker("", selection: _selection)
} else {
content.modifier(SegmentedPicker())
Expand Down

0 comments on commit cf03f72

Please sign in to comment.