mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-07 05:25:12 +00:00
Removed resetDataModel on tab switching.
This commit is contained in:
@@ -74,7 +74,8 @@
|
||||
NSArray *viewControllers = [(UINavigationController *)viewController viewControllers];
|
||||
UIViewController *rootViewController = viewControllers[0];
|
||||
if ([rootViewController conformsToProtocol:@protocol(PhotoFeedViewControllerProtocol)]) {
|
||||
[(id <PhotoFeedViewControllerProtocol>)rootViewController resetAllData];
|
||||
// FIXME: the dataModel does not currently handle clearing data during loading properly
|
||||
// [(id <PhotoFeedViewControllerProtocol>)rootViewController resetAllData];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user