Force reload data source when opened from a push

This commit is contained in:
ismailgulek
2020-09-23 16:53:40 +03:00
parent d6ee4f02ce
commit 33a9112f23
+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