Fixed that SettingsDialog has been created before AppSettings have been deserialized

This commit is contained in:
dankito 2020-10-17 01:41:08 +02:00
parent 0706c91bac
commit dd604fd064
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class TabBarController : UITabBarController, UITabBarControllerDelegate {
newOptionsTab.tabBarItem = buildTabBarItem("New", "new") newOptionsTab.tabBarItem = buildTabBarItem("New", "new")
let settingsTab = buildControllerAndTabBarItem("Settings", "Settings", SettingsDialog(data)) let settingsTab = buildControllerAndTabBarItem("Settings", "Settings", LazyView(SettingsDialog(self.data)))
self.viewControllers = [accountsTab, newOptionsTab, settingsTab] self.viewControllers = [accountsTab, newOptionsTab, settingsTab]