mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
key backup settings: Fix cell reuse mechanism
This commit is contained in:
@@ -1304,7 +1304,7 @@ KeyBackupRecoverCoordinatorBridgePresenterDelegate>
|
||||
// Check whether this section is visible.
|
||||
if (self.mainSession.crypto)
|
||||
{
|
||||
count = keyBackupSection.tableViewCells.count;
|
||||
count = keyBackupSection.numberOfRows;
|
||||
}
|
||||
}
|
||||
else if (section == SETTINGS_SECTION_DEACTIVATE_ACCOUNT_INDEX)
|
||||
@@ -2235,10 +2235,7 @@ KeyBackupRecoverCoordinatorBridgePresenterDelegate>
|
||||
}
|
||||
else if (section == SETTINGS_SECTION_KEYBACKUP_INDEX)
|
||||
{
|
||||
if (row < keyBackupSection.tableViewCells.count)
|
||||
{
|
||||
cell = keyBackupSection.tableViewCells[row];
|
||||
}
|
||||
cell = [keyBackupSection cellForRowAtRow:row];
|
||||
}
|
||||
else if (section == SETTINGS_SECTION_DEACTIVATE_ACCOUNT_INDEX)
|
||||
{
|
||||
@@ -4282,9 +4279,6 @@ KeyBackupRecoverCoordinatorBridgePresenterDelegate>
|
||||
cell.mxkButton.titleLabel.font = [UIFont systemFontOfSize:17];
|
||||
[cell.mxkButton setTintColor:ThemeService.shared.theme.tintColor];
|
||||
|
||||
[cell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
cell.mxkButton.accessibilityIdentifier = nil;
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user