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
This commit is contained in:
2022-12-26 23:17:02 -04:00
committed by William Casarin
parent 9f48fcb640
commit 380f51a9ce

View File

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