mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Settings: Set the right label text color (Vector TextColor Black)
This commit is contained in:
@@ -16,8 +16,17 @@
|
||||
|
||||
#import "TableViewCellWithCheckBoxAndLabel.h"
|
||||
|
||||
#import "VectorDesignValues.h"
|
||||
|
||||
@implementation TableViewCellWithCheckBoxAndLabel
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
_label.textColor = kVectorTextColorBlack;
|
||||
}
|
||||
|
||||
- (void)setEnabled:(BOOL)enabled
|
||||
{
|
||||
if (enabled)
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
#import "TableViewCellWithCheckBoxes.h"
|
||||
|
||||
#import "VectorDesignValues.h"
|
||||
|
||||
// The space between 2 check boxes
|
||||
#define TABLEVIEWCELLWITHCHECKBOXES_MARGIN 8
|
||||
|
||||
@@ -134,6 +136,7 @@
|
||||
|
||||
UILabel *theLabel = [[UILabel alloc] initWithFrame:CGRectMake(60, 0, containerWidth - 60, 31)];
|
||||
theLabel.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
theLabel.textColor = kVectorTextColorBlack;
|
||||
[checkboxContainer addSubview:theLabel];
|
||||
[labelArray addObject:theLabel];
|
||||
|
||||
|
||||
@@ -16,12 +16,16 @@
|
||||
|
||||
#import "TableViewCellWithLabelAndLargeTextView.h"
|
||||
|
||||
#import "VectorDesignValues.h"
|
||||
|
||||
@implementation TableViewCellWithLabelAndLargeTextView
|
||||
|
||||
- (void)awakeFromNib
|
||||
{
|
||||
[super awakeFromNib];
|
||||
|
||||
_label.textColor = kVectorTextColorBlack;
|
||||
|
||||
// Adjust text view
|
||||
// Remove the container inset: this operation impacts only the vertical margin.
|
||||
// Reset textContainer.lineFragmentPadding to remove horizontal margin.
|
||||
|
||||
Reference in New Issue
Block a user