Browse Source

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
post-button-style
Terry Yiu 2 years ago
committed by William Casarin
parent
commit
380f51a9ce
  1. 6
      damus/Views/EventActionBar.swift

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

Loading…
Cancel
Save