damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 380f51a9ce85a3b30080a4a66d01aa05a1dd90cb
parent 9f48fcb6401eb0d6879dc80252adbe04477a3275
Author: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date:   Mon, 26 Dec 2022 23:17:02 -0400

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

Diffstat:
Mdamus/Views/EventActionBar.swift | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 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?") }