Force reload data source when opened from a push

This commit is contained in:
ismailgulek
2020-09-23 16:53:40 +03:00
parent 2214c78d8d
commit c53ddf8870
+7
View File
@@ -549,6 +549,13 @@
[self setBubbleTableViewContentOffset:CGPointMake(-self.bubblesTableView.mxk_adjustedContentInset.left, -self.bubblesTableView.mxk_adjustedContentInset.top) animated:YES];
}];
if ([self.roomDataSource.roomId isEqualToString:[LegacyAppDelegate theDelegate].lastNavigatedRoomIdFromPush])
{
[self startActivityIndicator];
[self.roomDataSource reload];
[LegacyAppDelegate theDelegate].lastNavigatedRoomIdFromPush = nil;
}
}
- (void)viewWillDisappear:(BOOL)animated