forked from mirrors/linphone-iphone
Avoid crash in settings menu for iOS < 13.0
This commit is contained in:
parent
b75147cfd9
commit
3507b355ed
1 changed files with 5 additions and 1 deletions
|
|
@ -124,7 +124,11 @@
|
|||
|
||||
- (void)deselectCell:(UITableViewCell *)cell {
|
||||
[cell setAccessoryType:UITableViewCellAccessoryNone];
|
||||
[[cell textLabel] setTextColor:[UIColor labelColor]];
|
||||
if (@available(iOS 13.0, *)) {
|
||||
[[cell textLabel] setTextColor:[UIColor labelColor]];
|
||||
} else {
|
||||
[[cell textLabel] setTextColor:[UIColor darkGrayColor]];
|
||||
}
|
||||
}
|
||||
|
||||
- (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue