Commit 4ffc113c by Dmitriy Stepanets

Fixed iOS 15 NavigationBar color

parent 059ed9c3
......@@ -91,6 +91,14 @@ open class NavigationBar: UINavigationBar, Themeable {
return barTintColor
}
set(value) {
if #available(iOS 15, *) {
let appearance = UINavigationBarAppearance()
appearance.configureWithOpaqueBackground()
appearance.backgroundColor = value
standardAppearance = appearance
scrollEdgeAppearance = standardAppearance
}
barTintColor = value
}
}
......
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