forked from shadowfacts/Tusker
Correct button titles
This commit is contained in:
parent
efd90bca3e
commit
d0bb197e8c
|
@ -80,13 +80,13 @@ struct PreferencesView: View {
|
||||||
Button(action: {
|
Button(action: {
|
||||||
NotificationCenter.default.post(name: .addAccount, object: nil)
|
NotificationCenter.default.post(name: .addAccount, object: nil)
|
||||||
}) {
|
}) {
|
||||||
Text("Add Account...")
|
Text("Add Account…")
|
||||||
}
|
}
|
||||||
|
|
||||||
Button(action: {
|
Button(action: {
|
||||||
self.showingLogoutConfirmation = true
|
self.showingLogoutConfirmation = true
|
||||||
}) {
|
}) {
|
||||||
Text("Logout from current")
|
Text("Logout from Current…")
|
||||||
}.alert(isPresented: $showingLogoutConfirmation) {
|
}.alert(isPresented: $showingLogoutConfirmation) {
|
||||||
Alert(title: Text("Are you sure you want to logout?"), message: nil, primaryButton: .destructive(Text("Logout"), action: self.logoutPressed), secondaryButton: .cancel())
|
Alert(title: Text("Are you sure you want to logout?"), message: nil, primaryButton: .destructive(Text("Logout"), action: self.logoutPressed), secondaryButton: .cancel())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue