Commit a7dba80a by Orkhan Alikhanov

Fixed regression where toolbar had background color in NavigationController

parent 39dd242d
...@@ -189,7 +189,6 @@ open class NavigationBar: UINavigationBar, Themeable { ...@@ -189,7 +189,6 @@ open class NavigationBar: UINavigationBar, Themeable {
*/ */
private func apply(theme: Theme, to item: UINavigationItem) { private func apply(theme: Theme, to item: UINavigationItem) {
Theme.apply(theme: theme, to: item.toolbar) Theme.apply(theme: theme, to: item.toolbar)
item.toolbar.backgroundColor = .clear
} }
} }
...@@ -208,6 +207,7 @@ internal extension NavigationBar { ...@@ -208,6 +207,7 @@ internal extension NavigationBar {
} }
let toolbar = item.toolbar let toolbar = item.toolbar
toolbar.backgroundColor = .clear
toolbar.interimSpace = interimSpace toolbar.interimSpace = interimSpace
toolbar.contentEdgeInsets = contentEdgeInsets toolbar.contentEdgeInsets = contentEdgeInsets
......
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