Removed resetDataModel on tab switching.

This commit is contained in:
Hannah Troisi
2016-04-05 21:59:16 -07:00
parent 50bb7d9386
commit 7a5c64f59e

View File

@@ -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];
}
}
}