Avoid mutation of sections to avoid crashes

This commit is contained in:
ismailgulek
2020-07-30 18:21:53 +03:00
parent cb872af1db
commit e4562ffdda
@@ -253,7 +253,7 @@ SettingsIdentityServerCoordinatorBridgePresenterDelegate>
@property (nonatomic, strong) SecureBackupSetupCoordinatorBridgePresenter *secureBackupSetupCoordinatorBridgePresenter;
@property (nonatomic, strong) AuthenticatedSessionViewControllerFactory *authenticatedSessionViewControllerFactory;
@property (nonatomic, strong) NSMutableArray<Section*> *sections;
@property (nonatomic, strong) NSArray<Section*> *sections;
@end
@@ -473,7 +473,7 @@ SettingsIdentityServerCoordinatorBridgePresenterDelegate>
self.sections = tmpSections;
}
- (void)setSections:(NSMutableArray<Section *> *)sections
- (void)setSections:(NSArray<Section *> *)sections
{
_sections = sections;