mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Feature/4889 deactivate rust for prod
This commit is contained in:
committed by
Frank Rotermund
parent
fe6f9c5fb7
commit
a22c234e82
@@ -273,12 +273,22 @@
|
||||
- (IBAction)onDone:(id)sender
|
||||
{
|
||||
// Acknowledge the existence of all devices before leaving this screen
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
if (self->onCompleteBlock)
|
||||
[self startActivityIndicator];
|
||||
if (![self.mainSession.crypto isKindOfClass:[MXLegacyCrypto class]])
|
||||
{
|
||||
self->onCompleteBlock(YES);
|
||||
MXLogFailure(@"[UsersDevicesViewController] onDone: Only legacy crypto supports manual setting of known devices");
|
||||
return;
|
||||
}
|
||||
[(MXLegacyCrypto *)mxSession.crypto setDevicesKnown:usersDevices complete:^{
|
||||
|
||||
[self stopActivityIndicator];
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
if (self->onCompleteBlock)
|
||||
{
|
||||
self->onCompleteBlock(YES);
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
- (IBAction)onCancel:(id)sender
|
||||
|
||||
Reference in New Issue
Block a user