Commit 233691ca by Daniel Jonathan Committed by GitHub

Merge pull request #1200 from OrkhanAlikhanov/patch-2

Disabled theming by default
parents d3d17bb4 209c164d
...@@ -168,6 +168,7 @@ open class NavigationBar: UINavigationBar, Themeable { ...@@ -168,6 +168,7 @@ open class NavigationBar: UINavigationBar, Themeable {
let image = UIImage() let image = UIImage()
shadowImage = image shadowImage = image
setBackgroundImage(image, for: .default) setBackgroundImage(image, for: .default)
backgroundColor = .white
applyCurrentTheme() applyCurrentTheme()
} }
......
...@@ -75,7 +75,7 @@ public struct Theme: Hashable { ...@@ -75,7 +75,7 @@ public struct Theme: Hashable {
public var onError = Color.white public var onError = Color.white
/// A boolean indicating if theming is enabled globally. /// A boolean indicating if theming is enabled globally.
public static var isEnabled = true public static var isEnabled = false
/// Global font for app. /// Global font for app.
public static var font: FontType.Type = RobotoFont.self public static var font: FontType.Type = RobotoFont.self
......
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