Skip to content

Commit

Permalink
Fix expand/collapse indicator position for socket closed rows when ti…
Browse files Browse the repository at this point in the history
…mestamps are on the right
  • Loading branch information
c99koder committed Jul 12, 2016
1 parent 05cd9cd commit d74f843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IRCCloud/Classes/EventsTableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ - (void)layoutSubviews {
_socketClosedBar.frame = CGRectMake(0, frame.origin.y + frame.size.height, self.contentView.bounds.size.width, 26);
_socketClosedBar.hidden = NO;
_socketClosedBar.backgroundColor = [UIColor socketClosedBackgroundColor];
_accessory.frame = CGRectMake(frame.origin.x + 4 + __timestampWidth, frame.origin.y + 1, _timestamp.font.pointSize, _timestamp.font.pointSize);
_accessory.frame = CGRectMake(frame.origin.x + (__timeLeftPref?(__timestampWidth + 4):0), frame.origin.y + 1, _timestamp.font.pointSize, _timestamp.font.pointSize);
} else if(_type == ROW_FAILED) {
frame.size.width -= 20;
_accessory.frame = CGRectMake(frame.origin.x + frame.size.width + 6, frame.origin.y + 1, _timestamp.font.pointSize, _timestamp.font.pointSize);
Expand Down

0 comments on commit d74f843

Please sign in to comment.