mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Avoid mutation of sections to avoid crashes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user