mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
MESSENGER-4295 add additional information for maintenance
This commit is contained in:
committed by
Arnfried Griesert
parent
f69d9d8433
commit
e5f822c556
@@ -3026,12 +3026,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
|
||||
downtimeCell.textLabel.text = [self bwiDowntimeCellText];
|
||||
downtimeCell.textLabel.textColor = [self bwiDowntimeTextColor];
|
||||
downtimeCell.textLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
// 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;
|
||||
}
|
||||
downtimeCell.textLabel.numberOfLines = 0;
|
||||
|
||||
|
||||
cell = downtimeCell;
|
||||
@@ -3048,7 +3043,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
|
||||
downtimeCell.textLabel.text = [BWIL10n bwiOutdatedSettingsMessage:AppInfo.current.displayName];
|
||||
downtimeCell.textLabel.textColor = [UIColor blackColor];
|
||||
downtimeCell.textLabel.lineBreakMode = NSLineBreakByWordWrapping;
|
||||
downtimeCell.textLabel.numberOfLines = 5;
|
||||
downtimeCell.textLabel.numberOfLines = 0;
|
||||
|
||||
cell = downtimeCell;
|
||||
}
|
||||
@@ -5255,7 +5250,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
|
||||
#pragma mark - bwi Messenger Additions
|
||||
|
||||
- (NSString*) bwiDowntimeCellText {
|
||||
NSString *downtimeText = [NSString stringWithFormat:@"\n%@\n\n", [[[ServerDowntimeDefaultService alloc] init] downtimeText]];
|
||||
NSString *downtimeText = [NSString stringWithFormat:@"\n%@\n", [[[ServerDowntimeDefaultService alloc] init] downtimeText]];
|
||||
return downtimeText;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user