Checkboxes: Use theme tint color.

This commit is contained in:
SBiOSoftWhare
2020-07-09 18:58:44 +02:00
parent 0ff1cbd9b5
commit aae0e8d6cd
7 changed files with 13 additions and 0 deletions
@@ -27,6 +27,7 @@
[super customizeTableViewCellRendering];
_label.textColor = ThemeService.shared.theme.textPrimaryColor;
self.checkBox.tintColor = ThemeService.shared.theme.tintColor;
}
- (void)setEnabled:(BOOL)enabled
@@ -17,6 +17,8 @@
#import "TableViewCellWithCheckBoxes.h"
#import "Riot-Swift.h"
// The space between 2 check boxes
#define TABLEVIEWCELLWITHCHECKBOXES_MARGIN 8
@@ -130,6 +132,7 @@
// Store the new check box unselected by default
checkbox.image = [UIImage imageNamed:@"selection_untick"];
checkbox.tintColor = ThemeService.shared.theme.tintColor;
checkbox.tag = 0;
[checkBoxesArray addObject:checkbox];