Correct button titles

This commit is contained in:
Shadowfacts 2024-04-07 22:29:48 -04:00
parent efd90bca3e
commit d0bb197e8c
1 changed files with 2 additions and 2 deletions

View File

@ -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())
} }