Fixed that SettingsDialog has been created before AppSettings have been deserialized
This commit is contained in:
parent
0706c91bac
commit
dd604fd064
|
@ -27,7 +27,7 @@ class TabBarController : UITabBarController, UITabBarControllerDelegate {
|
|||
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]
|
||||
|
|
Loading…
Reference in New Issue