Commit 546bd9c5 by Daniel Dahan

development: issue-681: Potential fix for NavigationBar background color change issue.

parent 56ecc29f
......@@ -289,7 +289,7 @@ open class NavigationBar: UINavigationBar {
when subclassing.
*/
open func prepare() {
barStyle = .black
isTranslucent = false
depthPreset = .depth1
interimSpacePreset = .interimSpace3
contentEdgeInsetsPreset = .square1
......
......@@ -122,7 +122,7 @@ open class NavigationController: UINavigationController {
open func prepare() {
navigationBar.heightPreset = .normal
navigationBar.width = view.width
// delegate = self
view.clipsToBounds = true
view.backgroundColor = .white
view.contentScaleFactor = Screen.scale
......
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