mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 12:46:58 +02:00
reskin: Delegate navigation and search bars styling to theme
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
|
||||
- (void)userInterfaceThemeDidChange
|
||||
{
|
||||
[RiotDesignValues applyStyleOnNavigationBar:self.navigationController.navigationBar];
|
||||
[RiotDesignValues.theme applyStyleOnNavigationBar:self.navigationController.navigationBar];
|
||||
|
||||
self.barTitleColor = kRiotPrimaryTextColor;
|
||||
self.activityIndicator.backgroundColor = kRiotOverlayColor;
|
||||
@@ -283,7 +283,7 @@
|
||||
UINavigationController *usersDevicesNavigationController = [[RiotNavigationController alloc] init];
|
||||
|
||||
// Set Riot navigation bar colors
|
||||
[RiotDesignValues applyStyleOnNavigationBar:usersDevicesNavigationController.navigationBar];
|
||||
[RiotDesignValues.theme applyStyleOnNavigationBar:usersDevicesNavigationController.navigationBar];
|
||||
usersDevicesNavigationController.navigationBar.barTintColor = kRiotPrimaryBgColor;
|
||||
|
||||
[usersDevicesNavigationController pushViewController:usersDevicesViewController animated:NO];
|
||||
|
||||
Reference in New Issue
Block a user