Renamed SettingsDialog to SettingsTab

This commit is contained in:
dankito 2020-09-07 01:34:31 +02:00
parent de2b5152ef
commit e8614a3b47
3 changed files with 4 additions and 4 deletions

View File

@ -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%@."; "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"; "Secure app data" = "Secure app data";

View File

@ -27,7 +27,7 @@ class TabBarController : UITabBarController, UITabBarControllerDelegate {
newOptionsTab.tabBarItem = buildTabBarItem("New", "new") 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] self.viewControllers = [accountsTab, newOptionsTab, settingsTab]

View File

@ -2,7 +2,7 @@ import SwiftUI
import BankingUiSwift import BankingUiSwift
struct SettingsDialog: View { struct SettingsTab: View {
@Environment(\.editMode) var editMode @Environment(\.editMode) var editMode
@ -118,7 +118,7 @@ struct SettingsDialog: View {
struct SettingsDialog_Previews: PreviewProvider { struct SettingsDialog_Previews: PreviewProvider {
static var previews: some View { static var previews: some View {
SettingsDialog(data: AppData()) SettingsTab(data: AppData())
} }
} }