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