reskin: Put back riot colors in the main tab bar icons

This commit is contained in:
manuroe 2019-01-10 15:12:24 +01:00
parent 4aba851079
commit e66ffe4cb2
6 changed files with 12 additions and 1 deletions

View file

@ -52,6 +52,8 @@ extern UIColor *kRiotColorPinkRed;
extern UIColor *kRiotColorRed;
extern UIColor *kRiotColorBlue;
extern UIColor *kRiotColorCuriousBlue;
extern UIColor *kRiotColorIndigo;
extern UIColor *kRiotColorOrange;
#pragma mark - Riot Standard Room Member Power Level
extern NSInteger const kRiotRoomModeratorLevel;

View file

@ -42,6 +42,8 @@ UIColor *kRiotColorPinkRed;
UIColor *kRiotColorRed;
UIColor *kRiotColorBlue;
UIColor *kRiotColorCuriousBlue;
UIColor *kRiotColorIndigo;
UIColor *kRiotColorOrange;
// Riot Background Colors
UIColor *kRiotColorLightKeyboard; // TO REMOVE
@ -87,6 +89,8 @@ UIScrollViewIndicatorStyle kRiotScrollBarStyle;
kRiotColorRed = UIColorFromRGB(0xFF4444);
kRiotColorBlue = UIColorFromRGB(0x81BDDB);
kRiotColorCuriousBlue = UIColorFromRGB(0x2A9EDB);
kRiotColorIndigo = UIColorFromRGB(0xBD79CC);
kRiotColorOrange = UIColorFromRGB(0xF8A15F);
kRiotColorLightKeyboard = UIColorFromRGB(0xE7E7E7);
kRiotColorDarkKeyboard = UIColorFromRGB(0x7E7E7E);

View file

@ -204,6 +204,7 @@
}];
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_groups", @"Vector", nil);
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = kRiotColorBlue;
}
- (void)viewWillDisappear:(BOOL)animated

View file

@ -55,6 +55,7 @@
[super viewWillAppear:animated];
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_favourites", @"Vector", nil);
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = kRiotColorIndigo;
if (recentsDataSource)
{
@ -64,7 +65,6 @@
}
}
- (void)dealloc
{

View file

@ -108,6 +108,7 @@
}
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_people", @"Vector", nil);
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = kRiotColorOrange;
if (recentsDataSource)
{

View file

@ -22,6 +22,8 @@
#import "DirectoryServerPickerViewController.h"
#import "Riot-Swift.h"
@interface RoomsViewController ()
{
RecentsDataSource *recentsDataSource;
@ -62,6 +64,7 @@
[super viewWillAppear:animated];
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = NSLocalizedStringFromTable(@"title_rooms", @"Vector", nil);
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = RiotDesignValues.colorValues.accent;
if ([self.dataSource isKindOfClass:RecentsDataSource.class])
{