diff --git a/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.mm b/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.mm index bf0efcbcab..5e1bc22ceb 100644 --- a/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.mm +++ b/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.mm @@ -1048,8 +1048,8 @@ - (void)onSwitch:(BOOL)toggle tableData:(OAGPXBaseTableData *)tableData _selectedType = [self getRouteAppearanceType:OAColoringType.DEFAULT]; self.applyButton.userInteractionEnabled = YES; self.applyNavBarButton.userInteractionEnabled = YES; - [self.applyButton setTitleColor:UIColorFromRGB(color_primary_purple) forState:UIControlStateNormal]; - [self.applyNavBarButton setTitleColor:UIColorFromRGB(color_primary_purple) forState:UIControlStateNormal]; + [self.applyButton setTitleColor:[UIColor colorNamed:ACColorNameIconColorActive] forState:UIControlStateNormal]; + [self.applyNavBarButton setTitleColor:[UIColor colorNamed:ACColorNameIconColorActive] forState:UIControlStateNormal]; } else if (_selectedType.coloringType == OAColoringType.DEFAULT) { @@ -1315,8 +1315,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N { NSArray *nib = [[NSBundle mainBundle] loadNibNamed:[OADividerCell getCellIdentifier] owner:self options:nil]; cell = (OADividerCell *) nib[0]; - cell.backgroundColor = UIColor.whiteColor; - cell.dividerColor = UIColor.whiteColor; + cell.backgroundColor = [UIColor colorNamed:ACColorNameGroupBg]; + cell.dividerColor = [UIColor colorNamed:ACColorNameCustomSeparator]; cell.dividerInsets = UIEdgeInsetsZero; cell.separatorInset = UIEdgeInsetsMake(0., self.tableView.frame.size.width, 0., 0.); cell.dividerHight = 0.; @@ -1381,8 +1381,8 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N _colorValuesCell.selectionStyle = UITableViewCellSelectionStyleNone; _colorValuesCell.separatorInset = UIEdgeInsetsMake(0., DeviceScreenWidth, 0., 0.); _colorValuesCell.collectionView.contentInset = UIEdgeInsetsMake(0., 8. , 0., 20.); - _colorValuesCell.backgroundColor = UIColor.whiteColor; - _colorValuesCell.collectionView.backgroundColor = UIColor.whiteColor; + _colorValuesCell.backgroundColor = [UIColor colorNamed:ACColorNameGroupBg]; + _colorValuesCell.collectionView.backgroundColor = [UIColor colorNamed:ACColorNameGroupBg]; _colorValuesCell.collectionView.cellIndex = indexPath; _colorValuesCell.collectionView.state = _scrollCellsState; _colorValuesCell.collectionView.foldersDelegate = self; diff --git a/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.xib b/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.xib index 669646a085..7fa419600b 100644 --- a/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.xib +++ b/Sources/Controllers/RouteInfoMenu/OARouteLineAppearanceHudViewController.xib @@ -1,9 +1,9 @@ - + - + @@ -155,7 +155,7 @@ - +