Merge pull request #544 from vector-im/541

Settings: Add 'mark all as read' option
This commit is contained in:
giomfo
2016-08-26 21:33:54 +02:00
committed by GitHub
5 changed files with 73 additions and 19 deletions
@@ -1946,7 +1946,7 @@ NSString *const kRoomSettingsAdvancedCellViewIdentifier = @"kRoomSettingsAdvance
[leaveCell.mxkButton setTitle:title forState:UIControlStateNormal];
[leaveCell.mxkButton setTitle:title forState:UIControlStateHighlighted];
[leaveCell.mxkButton setTintColor:kVectorColorGreen];
leaveCell.mxkButton.titleLabel.font = [UIFont boldSystemFontOfSize:16];
leaveCell.mxkButton.titleLabel.font = [UIFont systemFontOfSize:17];
[leaveCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
[leaveCell.mxkButton addTarget:self action:@selector(onLeave:) forControlEvents:UIControlEventTouchUpInside];