Skip to content

Commit d01acea

Browse files
committed
format
1 parent 00456a4 commit d01acea

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

BDKSwiftExampleWallet/View/OnboardingView.swift

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ struct OnboardingView: View {
4141
.font(.title)
4242
.opacity(animateContent ? 1 : 0)
4343
.offset(x: animateContent ? 0 : 100)
44-
.animation(.spring(response: 0.6, dampingFraction: 0.7).delay(1.2), value: animateContent)
44+
.animation(
45+
.spring(response: 0.6, dampingFraction: 0.7).delay(1.2),
46+
value: animateContent
47+
)
4548

4649
Button {
4750
if let clipboardContent = UIPasteboard.general.string {
@@ -55,7 +58,10 @@ struct OnboardingView: View {
5558
.font(.title)
5659
.opacity(animateContent ? 1 : 0)
5760
.offset(x: animateContent ? 0 : 100)
58-
.animation(.spring(response: 0.6, dampingFraction: 0.7).delay(1.3), value: animateContent)
61+
.animation(
62+
.spring(response: 0.6, dampingFraction: 0.7).delay(1.3),
63+
value: animateContent
64+
)
5965
} else {
6066
Button {
6167
viewModel.words = ""
@@ -82,8 +88,11 @@ struct OnboardingView: View {
8288
)
8389
.scaleEffect(animateContent ? 1 : 0)
8490
.opacity(animateContent ? 1 : 0)
85-
.animation(.spring(response: 0.6, dampingFraction: 0.5, blendDuration: 0.6), value: animateContent)
86-
91+
.animation(
92+
.spring(response: 0.6, dampingFraction: 0.5, blendDuration: 0.6),
93+
value: animateContent
94+
)
95+
8796
Text("powered by Bitcoin Dev Kit")
8897
.foregroundStyle(
8998
LinearGradient(
@@ -168,7 +177,10 @@ struct OnboardingView: View {
168177
.padding()
169178
.opacity(animateContent ? 1 : 0)
170179
.offset(y: animateContent ? 0 : 50)
171-
.animation(.spring(response: 0.6, dampingFraction: 0.7).delay(1.2), value: animateContent)
180+
.animation(
181+
.spring(response: 0.6, dampingFraction: 0.7).delay(1.2),
182+
value: animateContent
183+
)
172184
}
173185
}
174186
.alert(isPresented: $showingOnboardingViewErrorAlert) {

0 commit comments

Comments
 (0)