diff --git a/Riot/Managers/Theme/Themes/DarkTheme.swift b/Riot/Managers/Theme/Themes/DarkTheme.swift index b1fa0fa6f..4a79db75c 100644 --- a/Riot/Managers/Theme/Themes/DarkTheme.swift +++ b/Riot/Managers/Theme/Themes/DarkTheme.swift @@ -86,7 +86,7 @@ class DarkTheme: NSObject, Theme { // Note: We are not using UINavigationBarAppearance on iOS 13+ atm because of UINavigationBar directly include UISearchBar on their titleView that cause crop issues with UINavigationController pop. func applyStyle(onNavigationBar navigationBar: UINavigationBar) { - navigationBar.tintColor = self.textSecondaryColor + navigationBar.tintColor = self.tintColor navigationBar.titleTextAttributes = [ NSAttributedString.Key.foregroundColor: self.textPrimaryColor ] diff --git a/Riot/Managers/Theme/Themes/DefaultTheme.swift b/Riot/Managers/Theme/Themes/DefaultTheme.swift index f613e1232..2a4ee52ec 100644 --- a/Riot/Managers/Theme/Themes/DefaultTheme.swift +++ b/Riot/Managers/Theme/Themes/DefaultTheme.swift @@ -94,7 +94,7 @@ class DefaultTheme: NSObject, Theme { // Note: We are not using UINavigationBarAppearance on iOS 13+ atm because of UINavigationBar directly include UISearchBar on their titleView that cause crop issues with UINavigationController pop. func applyStyle(onNavigationBar navigationBar: UINavigationBar) { - navigationBar.tintColor = self.textSecondaryColor + navigationBar.tintColor = self.tintColor navigationBar.titleTextAttributes = [ NSAttributedString.Key.foregroundColor: self.textPrimaryColor ]