Swap order of Logout and Cancel alert buttons
To conform to Apple's Human Interface Guidelines Closes: #159 Changelog-Fixed: Swapped order of Logout and Cancel alert buttons
This commit is contained in:
@@ -102,12 +102,12 @@ struct ConfigView: View {
|
||||
.navigationTitle("Settings")
|
||||
.navigationBarTitleDisplayMode(.large)
|
||||
.alert("Logout", isPresented: $confirm_logout) {
|
||||
Button("Logout") {
|
||||
notify(.logout, ())
|
||||
}
|
||||
Button("Cancel") {
|
||||
confirm_logout = false
|
||||
}
|
||||
Button("Logout") {
|
||||
notify(.logout, ())
|
||||
}
|
||||
} message: {
|
||||
Text("Make sure your nsec account key is saved before you logout or you will lose access to this account")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user