From dd604fd064ba2c968aef5f469a49ba2556a1a2b0 Mon Sep 17 00:00:00 2001 From: dankito Date: Sat, 17 Oct 2020 01:41:08 +0200 Subject: [PATCH] Fixed that SettingsDialog has been created before AppSettings have been deserialized --- ui/BankingiOSApp/BankingiOSApp/TabBarController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/TabBarController.swift b/ui/BankingiOSApp/BankingiOSApp/TabBarController.swift index 38351eec..5f372655 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", "Settings", SettingsDialog(data)) + let settingsTab = buildControllerAndTabBarItem("Settings", "Settings", LazyView(SettingsDialog(self.data))) self.viewControllers = [accountsTab, newOptionsTab, settingsTab]