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:
@@ -88,12 +88,12 @@ struct EventActionBar: View {
|
|||||||
}
|
}
|
||||||
.padding(.top, 1)
|
.padding(.top, 1)
|
||||||
.alert("Boost", isPresented: $confirm_boost) {
|
.alert("Boost", isPresented: $confirm_boost) {
|
||||||
Button("Boost") {
|
|
||||||
send_boost()
|
|
||||||
}
|
|
||||||
Button("Cancel") {
|
Button("Cancel") {
|
||||||
confirm_boost = false
|
confirm_boost = false
|
||||||
}
|
}
|
||||||
|
Button("Boost") {
|
||||||
|
send_boost()
|
||||||
|
}
|
||||||
} message: {
|
} message: {
|
||||||
Text("Are you sure you want to boost this post?")
|
Text("Are you sure you want to boost this post?")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user