Display migration progress during startup

This commit is contained in:
Andy Uhnak
2023-01-16 17:18:53 +00:00
parent 0feaec0be3
commit f7cd7c4459
8 changed files with 38 additions and 18 deletions
@@ -21,10 +21,10 @@ class LaunchLoadingViewController: UIViewController, Reusable {
required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
init(syncProgress: MXSessionSyncProgress?) {
init(startupProgress: MXSessionStartupProgress?) {
super.init(nibName: "LaunchLoadingViewController", bundle: nil)
let launchLoadingView = LaunchLoadingView.instantiate(syncProgress: syncProgress)
let launchLoadingView = LaunchLoadingView.instantiate(startupProgress: startupProgress)
launchLoadingView.update(theme: ThemeService.shared().theme)
view.vc_addSubViewMatchingParent(launchLoadingView)