Merge pull request #2611 from vector-im/fix_settings_crash_due_to_backup_section

BF: Crash when leaving settings due to backup section refresh animation.
This commit is contained in:
manuroe
2019-07-29 18:06:33 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+3
View File
@@ -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)
===============================================
@@ -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