Skip to content

Commit 46f5c58

Browse files
committed
FloatingPromptTextFieldExampleApp code format
1 parent b75abe1 commit 46f5c58

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Example/Shared/ContentView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ struct ContentView: View {
3939
.focused($focus, equals: .two)
4040
FloatingPromptTextField(text: $textThree) {
4141
Label("Input Three", systemImage: "pencil.circle").foregroundStyle(.secondary)
42-
}.floatingPrompt(
42+
}
43+
.floatingPrompt(
4344
Label("Input Three", systemImage: "pencil.circle.fill").foregroundStyle(Color.blue)
4445
)
4546
.focused($focus, equals: .three)

Example/Shared/FloatingPromptTextFieldExampleApp.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import SwiftUI
99

1010
@main
1111
struct FloatingPromptTextFieldExampleApp: App {
12-
var body: some Scene {
13-
WindowGroup {
14-
ContentView()
15-
}
16-
}
12+
var body: some Scene {
13+
WindowGroup {
14+
ContentView()
15+
}
16+
}
1717
}

0 commit comments

Comments
 (0)