mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
Set the scroll edge appearance to have the system background. Issue #1665
This commit is contained in:
parent
e183345f98
commit
502f83ba2d
@ -47,11 +47,15 @@ private extension InteractiveNavigationController {
|
|||||||
func configure() {
|
func configure() {
|
||||||
isToolbarHidden = false
|
isToolbarHidden = false
|
||||||
|
|
||||||
let navigationAppearance = UINavigationBarAppearance()
|
let navigationStandardAppearance = UINavigationBarAppearance()
|
||||||
navigationAppearance.titleTextAttributes = [.foregroundColor: UIColor.label]
|
navigationStandardAppearance.titleTextAttributes = [.foregroundColor: UIColor.label]
|
||||||
navigationAppearance.largeTitleTextAttributes = [.foregroundColor: UIColor.label]
|
navigationStandardAppearance.largeTitleTextAttributes = [.foregroundColor: UIColor.label]
|
||||||
navigationBar.standardAppearance = navigationAppearance
|
navigationBar.standardAppearance = navigationStandardAppearance
|
||||||
navigationBar.scrollEdgeAppearance = navigationAppearance
|
|
||||||
|
let scrollEdgeStandardAppearance = UINavigationBarAppearance()
|
||||||
|
scrollEdgeStandardAppearance.backgroundColor = .systemBackground
|
||||||
|
navigationBar.scrollEdgeAppearance = scrollEdgeStandardAppearance
|
||||||
|
|
||||||
navigationBar.tintColor = AppAssets.primaryAccentColor
|
navigationBar.tintColor = AppAssets.primaryAccentColor
|
||||||
|
|
||||||
let toolbarAppearance = UIToolbarAppearance()
|
let toolbarAppearance = UIToolbarAppearance()
|
||||||
|
Loading…
Reference in New Issue
Block a user