Bug Fix - App crashes on logout because of a partial tableview reloading

This commit is contained in:
giomfo
2017-02-22 15:44:04 +01:00
parent de4eec821c
commit c97b0f375c
@@ -244,11 +244,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
[self stopActivityIndicator];
// Refresh the corresponding table view cell with animation
[self.tableView reloadRowsAtIndexPaths:@[
[NSIndexPath indexPathForRow:NOTIFICATION_SETTINGS_ENABLE_PUSH_INDEX inSection:SETTINGS_SECTION_NOTIFICATIONS_SETTINGS_INDEX]
]
withRowAnimation:UITableViewRowAnimationFade];
[self refreshSettings];
}];