mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 14:16:59 +02:00
Crypto: Once crypto is enabled, it is enabled until the user logs out
This commit is contained in:
@@ -1063,6 +1063,12 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
[labelAndSwitchCell.mxkSwitch removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];
|
||||
[labelAndSwitchCell.mxkSwitch addTarget:self action:@selector(toggleLabsEndToEndEncryption:) forControlEvents:UIControlEventTouchUpInside];
|
||||
|
||||
if (session.crypto)
|
||||
{
|
||||
// Once crypto is enabled, it is enabled
|
||||
labelAndSwitchCell.mxkSwitch.enabled = NO;
|
||||
}
|
||||
|
||||
cell = labelAndSwitchCell;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user