Commit 7eff9a05 by Daniel Dahan

issue-857: Fixed an issue where setting the statusBar property for the…

issue-857: Fixed an issue where setting the statusBar property for the ToolbarController was not updating the background color correctly.
parent f730593f
...@@ -114,10 +114,13 @@ open class StatusBarController: TransitionController { ...@@ -114,10 +114,13 @@ open class StatusBarController: TransitionController {
} }
} }
extension StatusBarController { fileprivate extension StatusBarController {
/// Prepares the statusBar. /// Prepares the statusBar.
fileprivate func prepareStatusBar() { func prepareStatusBar() {
statusBar.backgroundColor = .white if nil == statusBar.backgroundColor {
statusBar.backgroundColor = .white
}
statusBar.height = 20 statusBar.height = 20
view.addSubview(statusBar) view.addSubview(statusBar)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment