Skip to content

Commit b559c4a

Browse files
committed
Fix GitHub build errors
1 parent b3a3295 commit b559c4a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Sources/TagKit/Views/TagEditList.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public struct TagEditList<TagView: View>: View {
4646

4747
public var body: some View {
4848
TagList(
49-
tags: allTags,
49+
tags: allTags
5050
) { tag in
5151
Button(action: { toggleTag(tag) }) {
5252
tagView(tag, hasTag(tag))

Sources/TagKit/_Deprecated/TagCapsule.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
77
//
88

9+
#if !os(watchOS)
910
import SwiftUI
1011

1112
@available(*, deprecated, message: "Just use a regular Text element and style it as you wish.")
@@ -92,3 +93,4 @@ private extension TagCapsuleStyle {
9293
return style
9394
}
9495
}
96+
#endif

Sources/TagKit/_Deprecated/TagCapsuleStyle.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
77
//
88

9+
#if !os(watchOS)
910
import SwiftUI
1011

1112
@available(*, deprecated, message: "Just use a regular Text element and style it as you wish.")
@@ -219,3 +220,4 @@ public extension EnvironmentValues {
219220
set { self [TagCapsuleStyle.Key.self] = newValue }
220221
}
221222
}
223+
#endif

0 commit comments

Comments
 (0)