From 7448523c66850a99fc50bfb9d7f4dd2d0e53d09b Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 23 Oct 2019 09:03:34 -0500 Subject: [PATCH] Correct issue where toolbar tint color could get lost in darkmode and transitioning to the background --- iOS/UIKit Extensions/ThemedNavigationController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/UIKit Extensions/ThemedNavigationController.swift b/iOS/UIKit Extensions/ThemedNavigationController.swift index 979d83b78..058e6afa5 100644 --- a/iOS/UIKit Extensions/ThemedNavigationController.swift +++ b/iOS/UIKit Extensions/ThemedNavigationController.swift @@ -34,10 +34,10 @@ class ThemedNavigationController: UINavigationController { if traitCollection.userInterfaceStyle == .dark { navigationBar.standardAppearance = UINavigationBarAppearance() - navigationBar.tintColor = view.tintColor + navigationBar.tintColor = AppAssets.primaryAccentColor toolbar.standardAppearance = UIToolbarAppearance() toolbar.compactAppearance = UIToolbarAppearance() - toolbar.tintColor = view.tintColor + toolbar.tintColor = AppAssets.primaryAccentColor } else { let navigationAppearance = UINavigationBarAppearance() navigationAppearance.backgroundColor = AppAssets.barBackgroundColor