summaryrefslogtreecommitdiff
path: root/Hutch/Views/More/AccountSwitcherView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/More/AccountSwitcherView.swift')
-rw-r--r--Hutch/Views/More/AccountSwitcherView.swift4
1 files changed, 3 insertions, 1 deletions
diff --git a/Hutch/Views/More/AccountSwitcherView.swift b/Hutch/Views/More/AccountSwitcherView.swift
index ce69279..83871a8 100644
--- a/Hutch/Views/More/AccountSwitcherView.swift
+++ b/Hutch/Views/More/AccountSwitcherView.swift
@@ -98,7 +98,9 @@ struct AccountSwitcherView: View {
}
)
) {
- Button("Cancel", role: .cancel) {}
+ Button("Cancel", role: .cancel) {
+ /* Dismiss only; removal uses the destructive button. */
+ }
Button("Remove", role: .destructive) {
guard let pendingRemoval else { return }
Task { await appState.removeAccount(id: pendingRemoval.id) }