Commit a72c6682 authored by Martin's avatar Martin
Browse files

IOS-2897 - fix missing separator in navigation bar

parent 4a10c982
......@@ -23,6 +23,7 @@ class Appearance {
// therefore we use the new appearance API to customise explicitly.
let normalNavigationBar = UINavigationBar.appearance()
normalNavigationBar.standardAppearance = navigationBarAppearanceDefault(color: UIColor.label)
normalNavigationBar.scrollEdgeAppearance = normalNavigationBar.standardAppearance
} else {
UINavigationBar.appearance().backgroundColor = .white
UINavigationBar.appearance().titleTextAttributes = titleTextAttributes()
......@@ -126,6 +127,7 @@ extension Appearance {
appearance.doneButtonAppearance.normal.titleTextAttributes = buttonsAttributes
let chevronLeftImg = UIImage(named: "chevron-icon-left")?
.resizeImage(targetSize: CGSize(width: 15, height: 25))
appearance.setBackIndicatorImage(chevronLeftImg, transitionMaskImage: chevronLeftImg)
return appearance
}
......
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