diff --git a/CHANGES.rst b/CHANGES.rst index 34b9390db..0786638f6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,9 @@ Improvements: * Soft logout: Support soft logout (#2540). * Reactions: Emoji picker (#2370). +Bug fix: +* Crash when leaving settings due to backup section refresh animation. + Changes in 0.9.1 (2019-07-17) =============================================== diff --git a/Riot/Modules/Settings/SettingsViewController.m b/Riot/Modules/Settings/SettingsViewController.m index b8e545a09..091cb5d20 100644 --- a/Riot/Modules/Settings/SettingsViewController.m +++ b/Riot/Modules/Settings/SettingsViewController.m @@ -4269,10 +4269,7 @@ SignOutAlertPresenterDelegate> - (void)settingsKeyBackupTableViewSectionDidUpdate:(SettingsKeyBackupTableViewSection *)settingsKeyBackupTableViewSection { - [self.tableView beginUpdates]; - [self.tableView reloadSections:[NSIndexSet indexSetWithIndex:SETTINGS_SECTION_KEYBACKUP_INDEX] - withRowAnimation:UITableViewRowAnimationAutomatic]; - [self.tableView endUpdates]; + [self.tableView reloadData]; } - (MXKTableViewCellWithTextView *)settingsKeyBackupTableViewSection:(SettingsKeyBackupTableViewSection *)settingsKeyBackupTableViewSection textCellForRow:(NSInteger)textCellForRow