mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-4157 Better Texts for downtime warnings
This commit is contained in:
@@ -2981,7 +2981,13 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
|
||||
downtimeCell.textLabel.text = [self bwiDowntimeCellText];
|
||||
downtimeCell.textLabel.textColor = [self bwiDowntimeTextColor];
|
||||
downtimeCell.textLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
downtimeCell.textLabel.numberOfLines = 5;
|
||||
// bwi: with descriptions coming soon we need to do this dynamically
|
||||
if ([[[ServerDowntimeDefaultService alloc] init] isSameDay]) {
|
||||
downtimeCell.textLabel.numberOfLines = 6;
|
||||
} else {
|
||||
downtimeCell.textLabel.numberOfLines = 7;
|
||||
}
|
||||
|
||||
|
||||
cell = downtimeCell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user