From 66feba0614619d96d3fd4a8c9b7b8f37bfc5b33c Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 23 Sep 2020 23:18:45 +0200 Subject: [PATCH] Renamed buttons when asking user if she likes to secure her data to 'Later' and 'Yes' --- ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings | 2 ++ ui/BankingiOSApp/BankingiOSApp/de.lproj/Localizable.strings | 2 ++ .../BankingiOSApp/ui/dialogs/AddAccountDialog.swift | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings b/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings index 21841d35..41db8f9d 100644 --- a/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings +++ b/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings @@ -3,6 +3,8 @@ "Cancel" = "Cancel"; "Done" = "Done"; "Discard" = "Discard"; +"Yes" = "Yes"; +"Later" = "Later"; "Add" = "Add"; "New" = "New"; diff --git a/ui/BankingiOSApp/BankingiOSApp/de.lproj/Localizable.strings b/ui/BankingiOSApp/BankingiOSApp/de.lproj/Localizable.strings index 2282a9ba..e748c084 100644 --- a/ui/BankingiOSApp/BankingiOSApp/de.lproj/Localizable.strings +++ b/ui/BankingiOSApp/BankingiOSApp/de.lproj/Localizable.strings @@ -3,6 +3,8 @@ "Cancel" = "Abbrechen"; "Done" = "Fertig"; "Discard" = "Verwerfen"; +"Yes" = "Ja"; +"Later" = "Später"; "Add" = "Hinzufügen"; "New" = "Neu"; diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift index f36d26be..6f2d3be7 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift @@ -103,8 +103,8 @@ struct AddAccountDialog: View { authenticationService.setAuthenticationType(.none) UIAlert("Secure data?", "Secure data with?", - UIAlertAction.ok { SceneDelegate.navigateToView(ProtectAppSettingsDialog()) }, - UIAlertAction.cancel(self.closeDialog)) + UIAlertAction.default("Yes") { SceneDelegate.navigateToView(ProtectAppSettingsDialog()) }, + UIAlertAction.cancel("Later", self.closeDialog)) .show() } }