@@ -41,7 +41,10 @@ struct OnboardingView: View {
41
41
. font ( . title)
42
42
. opacity ( animateContent ? 1 : 0 )
43
43
. 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
+ )
45
48
46
49
Button {
47
50
if let clipboardContent = UIPasteboard . general. string {
@@ -55,7 +58,10 @@ struct OnboardingView: View {
55
58
. font ( . title)
56
59
. opacity ( animateContent ? 1 : 0 )
57
60
. 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
+ )
59
65
} else {
60
66
Button {
61
67
viewModel. words = " "
@@ -82,8 +88,11 @@ struct OnboardingView: View {
82
88
)
83
89
. scaleEffect ( animateContent ? 1 : 0 )
84
90
. 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
+
87
96
Text ( " powered by Bitcoin Dev Kit " )
88
97
. foregroundStyle (
89
98
LinearGradient (
@@ -168,7 +177,10 @@ struct OnboardingView: View {
168
177
. padding ( )
169
178
. opacity ( animateContent ? 1 : 0 )
170
179
. 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
+ )
172
184
}
173
185
}
174
186
. alert ( isPresented: $showingOnboardingViewErrorAlert) {
0 commit comments