Bug Fix: App crashes sometimes on clear cache

This commit is contained in:
Giom Foret
2017-04-14 13:42:36 +02:00
parent 7b21dbc8e5
commit bc7d5bfc54
+1 -6
View File
@@ -244,12 +244,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
[self stopActivityIndicator];
// Refresh the corresponding table view cells with animation
[self.tableView reloadRowsAtIndexPaths:@[
[NSIndexPath indexPathForRow:userSettingsProfilePictureIndex inSection:SETTINGS_SECTION_USER_SETTINGS_INDEX],
[NSIndexPath indexPathForRow:userSettingsDisplayNameIndex inSection:SETTINGS_SECTION_USER_SETTINGS_INDEX]
]
withRowAnimation:UITableViewRowAnimationFade];
[self refreshSettings];
}];