Push thread view instead of presenting

This commit is contained in:
ismailgulek
2021-11-19 14:19:23 +03:00
parent 12de0012eb
commit ee2d3ca4ec
5 changed files with 43 additions and 99 deletions
+1 -10
View File
@@ -4602,15 +4602,6 @@ 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
@@ -6303,7 +6294,7 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
displayConfiguration:configuration
previewData:nil];
self.threadBridgePresenter = [[RoomCoordinatorBridgePresenter alloc] initWithParameters:parameters];
[self.threadBridgePresenter presentFrom:self animated:YES];
[self.threadBridgePresenter pushFrom:self.navigationController animated:YES];
}
#pragma mark - RoomContextualMenuViewControllerDelegate