Renamed SettingsDialog to SettingsTab
This commit is contained in:
parent
de2b5152ef
commit
e8614a3b47
|
@ -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";
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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())
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue