mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Dismiss thread when close tapped
This commit is contained in:
@@ -4664,6 +4664,15 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
|
||||
{
|
||||
[self declineRoomInvitation];
|
||||
}
|
||||
else if ([titleView isKindOfClass:ThreadRoomTitleView.class])
|
||||
{
|
||||
ThreadRoomTitleView *threadTitleView = (ThreadRoomTitleView *)titleView;
|
||||
if (tappedView == threadTitleView.closeButton)
|
||||
{
|
||||
// dismiss self
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void)declineRoomInvitation
|
||||
|
||||
Reference in New Issue
Block a user