mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
revert '5bc3255dfe7b0a56aa3ce4b8056015b438653fed' 4889_deactivate_rust_for_prod
This commit is contained in:
@@ -273,22 +273,12 @@
|
||||
- (IBAction)onDone:(id)sender
|
||||
{
|
||||
// Acknowledge the existence of all devices before leaving this screen
|
||||
[self startActivityIndicator];
|
||||
if (![self.mainSession.crypto isKindOfClass:[MXLegacyCrypto class]])
|
||||
[self dismissViewControllerAnimated:YES completion:nil];
|
||||
|
||||
if (self->onCompleteBlock)
|
||||
{
|
||||
MXLogFailure(@"[UsersDevicesViewController] onDone: Only legacy crypto supports manual setting of known devices");
|
||||
return;
|
||||
self->onCompleteBlock(YES);
|
||||
}
|
||||
[(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