Fix interaction disabled on RecentsViewController when presenting a room.

This commit is contained in:
SBiOSoftWhare
2018-08-27 17:15:33 +02:00
parent 0f58e9b78f
commit 6cea49da69
@@ -757,8 +757,10 @@
{
// Avoid multiple openings of rooms
self.userInteractionEnabled = NO;
[[AppDelegate theDelegate].masterTabBarController selectRoomWithId:roomId andEventId:nil inMatrixSession:matrixSession];
[[AppDelegate theDelegate].masterTabBarController selectRoomWithId:roomId andEventId:nil inMatrixSession:matrixSession completion:^{
self.userInteractionEnabled = YES;
}];
}
// Disable UI interactions in this screen while we are going to open another screen.