From 380f51a9ce85a3b30080a4a66d01aa05a1dd90cb Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Mon, 26 Dec 2022 23:17:02 -0400 Subject: [PATCH] Swap order of Boost and Cancel alert buttons To conform to Apple's Human Interface Guidelines Closes: #155 Changelog-Changed: Swap order of Boost and Cancel alert buttons --- damus/Views/EventActionBar.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/damus/Views/EventActionBar.swift b/damus/Views/EventActionBar.swift index 4bcfe8e4..3e5c76ac 100644 --- a/damus/Views/EventActionBar.swift +++ b/damus/Views/EventActionBar.swift @@ -88,12 +88,12 @@ struct EventActionBar: View { } .padding(.top, 1) .alert("Boost", isPresented: $confirm_boost) { - Button("Boost") { - send_boost() - } Button("Cancel") { confirm_boost = false } + Button("Boost") { + send_boost() + } } message: { Text("Are you sure you want to boost this post?") }