Skip to content

Commit

Permalink
Close the drawer when double tapping a user to mention
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Aug 5, 2016
1 parent 03d56cf commit 3145e6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IRCCloud/Classes/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -2992,7 +2992,9 @@ -(void)userSelected:(NSString *)nick rect:(CGRect)rect {
if(_doubleTapTimer) {
[_doubleTapTimer invalidate];
_doubleTapTimer = nil;
[self _mention];
[self.slidingViewController resetTopViewWithAnimations:nil onComplete:^{
[self _mention];
}];
} else {
_doubleTapTimer = [NSTimer scheduledTimerWithTimeInterval:0.25 target:self selector:@selector(_userTapped) userInfo:nil repeats:NO];
}
Expand Down

0 comments on commit 3145e6d

Please # to comment.