File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,16 @@ struct AccountSettings: View {
116
116
}
117
117
. navigationBarTitleDisplayMode ( . inline)
118
118
. navigationTitle ( " Settings " )
119
- . voErrorAlert ( isPresented: $showError, title: errorTitle, message: errorMessage)
119
+ . voErrorAlert (
120
+ isPresented: $showError,
121
+ title: errorTitle,
122
+ message: errorMessage
123
+ )
124
+ . voErrorAlert (
125
+ isPresented: $accountStore. showError,
126
+ title: accountStore. errorTitle,
127
+ message: accountStore. errorMessage
128
+ )
120
129
. onAppear {
121
130
accountStore. tokenStore = tokenStore
122
131
if tokenStore. token != nil {
@@ -128,7 +137,6 @@ struct AccountSettings: View {
128
137
onAppearOrChange ( )
129
138
}
130
139
}
131
- . sync ( $accountStore. showError, with: $showError)
132
140
}
133
141
134
142
private func onAppearOrChange( ) {
You can’t perform that action at this time.
0 commit comments