File tree Expand file tree Collapse file tree
Application/DevLogPresentation/Sources/Profile Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ struct ProfileView: View {
112112
113113 if !store. statusMessage. isEmpty,
114114 store. showDoneButton {
115- Button ( action : {
115+ Button {
116116 store. send ( . tapResetStatusMessageButton)
117- } ) {
117+ } label : {
118118 Image ( systemName: " xmark.circle.fill " )
119119 }
120120 . transition ( . move( edge: . trailing) . combined ( with: . opacity) )
@@ -127,10 +127,10 @@ struct ProfileView: View {
127127 . fill ( Color ( . secondarySystemGroupedBackground) )
128128 )
129129 if store. showDoneButton {
130- Button ( action : {
130+ Button {
131131 focused = false
132132 store. send ( . willUpdateStatusMessage)
133- } ) {
133+ } label : {
134134 Text ( String ( localized: " profile_done " ) )
135135 }
136136 . transition ( . move( edge: . trailing) . combined ( with: . opacity) )
You can’t perform that action at this time.
0 commit comments