mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +02:00
Display sync progress on the loading screen
This commit is contained in:
@@ -21,10 +21,10 @@ class LaunchLoadingViewController: UIViewController, Reusable {
|
||||
|
||||
required init?(coder: NSCoder) { fatalError("init(coder:) has not been implemented") }
|
||||
|
||||
init() {
|
||||
init(syncProgress: MXSessionSyncProgress?) {
|
||||
super.init(nibName: "LaunchLoadingViewController", bundle: nil)
|
||||
|
||||
let launchLoadingView = LaunchLoadingView.instantiate()
|
||||
let launchLoadingView = LaunchLoadingView.instantiate(syncProgress: syncProgress)
|
||||
launchLoadingView.update(theme: ThemeService.shared().theme)
|
||||
view.vc_addSubViewMatchingParent(launchLoadingView)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user