Skip to content

Commit 0dfeed5

Browse files
davdromangithub-actions[bot]
authored andcommitted
Run SwiftFormat
1 parent 594450b commit 0dfeed5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Examples/Demo/Demo/Pages.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ struct PageLink: View {
125125

126126
var body: some View {
127127
ZStack {
128-
RoundedRectangle(cornerRadius: 6, style: .continuous)
129-
#if !os(tvOS) && !os(visionOS)
128+
RoundedRectangle(cornerRadius: 6, style: .continuous)
129+
#if !os(tvOS) && !os(visionOS)
130130
.fill(Color.blue.opacity(0.8))
131-
#else
132-
.fill(Color.clear)
133-
#endif
131+
#else
132+
.fill(Color.clear)
133+
#endif
134134
Text(title)
135135
#if !os(tvOS)
136136
.foregroundColor(.white)
@@ -164,14 +164,14 @@ struct Code<Content: StringProtocol>: View {
164164
.font(.system(size: 14, design: .monospaced))
165165
.background(shape.stroke(Color(white: 0.1).opacity(0.35), lineWidth: 1))
166166
.background(Color(white: 0.94).opacity(0.6).clipShape(shape))
167-
#if !os(tvOS)
167+
#if !os(tvOS)
168168
.modifier {
169169
if #available(iOS 15, *) {
170170
$0.textSelection(.enabled)
171171
} else {
172172
$0
173173
}
174174
}
175-
#endif
175+
#endif
176176
}
177177
}

Sources/NavigationTransitions/NavigationTransition+UIKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ extension UINavigationController {
219219
}
220220

221221
@available(tvOS, unavailable)
222-
@available(visionOS, unavailable)
222+
@available(visionOS, unavailable)
223223
private func exclusivelyEnableGestureRecognizer(_ gestureRecognizer: UIPanGestureRecognizer?) {
224224
for recognizer in [defaultEdgePanRecognizer!, defaultPanRecognizer!, edgePanRecognizer!, panRecognizer!] {
225225
if let gestureRecognizer, recognizer === gestureRecognizer {

0 commit comments

Comments
 (0)