Warn unknown devices: Show a loading wheel while doing [MXCrypto setDevicesKnown:]

This commit is contained in:
manuroe
2017-02-15 11:44:22 +01:00
parent 79e21f6d75
commit 098ba39389
2 changed files with 5 additions and 1 deletions
@@ -3152,8 +3152,10 @@
self->currentAlert = nil;
// Acknowledge the existence of all devices
[self startActivityIndicator];
[self.mainSession.crypto setDevicesKnown:self->unknownDevices complete:^{
self->unknownDevices = nil;
[self stopActivityIndicator];
}];
}];