diff --git a/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings b/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings index bfb77b4c..6a28f212 100644 --- a/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings +++ b/ui/BankingiOSApp/BankingiOSApp/Base.lproj/Localizable.strings @@ -129,7 +129,7 @@ Unfortunately, Bankmeister cannot know whether a bank charges for instant paymen "Could not change TAN medium to %@. Error: %@." = "Could not change TAN medium to '%@'.\n\nError message from your bank:\n\n%@."; -/* SettingsDialog */ +/* SettingsTab */ "Secure app data" = "Secure app data"; diff --git a/ui/BankingiOSApp/BankingiOSApp/TabBarController.swift b/ui/BankingiOSApp/BankingiOSApp/TabBarController.swift index e0d40749..7a87bb5c 100644 --- a/ui/BankingiOSApp/BankingiOSApp/TabBarController.swift +++ b/ui/BankingiOSApp/BankingiOSApp/TabBarController.swift @@ -27,7 +27,7 @@ class TabBarController : UITabBarController, UITabBarControllerDelegate { newOptionsTab.tabBarItem = buildTabBarItem("New", "new") - let settingsTab = buildControllerAndTabBarItem("Settings", "gear.fill", SettingsDialog(data: data)) + let settingsTab = buildControllerAndTabBarItem("Settings", "gear.fill", SettingsTab(data: data)) self.viewControllers = [accountsTab, newOptionsTab, settingsTab] diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/SettingsDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/SettingsTab.swift similarity index 98% rename from ui/BankingiOSApp/BankingiOSApp/ui/views/SettingsDialog.swift rename to ui/BankingiOSApp/BankingiOSApp/ui/views/SettingsTab.swift index 8bec675b..297f521e 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/SettingsDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/SettingsTab.swift @@ -2,7 +2,7 @@ import SwiftUI import BankingUiSwift -struct SettingsDialog: View { +struct SettingsTab: View { @Environment(\.editMode) var editMode @@ -118,7 +118,7 @@ struct SettingsDialog: View { struct SettingsDialog_Previews: PreviewProvider { static var previews: some View { - SettingsDialog(data: AppData()) + SettingsTab(data: AppData()) } }