mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Do not mention key backup on sign out when there is no keys to backup
This commit is contained in:
@@ -2711,12 +2711,13 @@ SignOutAlertPresenterDelegate>
|
||||
{
|
||||
self.signOutButton = (UIButton*)sender;
|
||||
|
||||
MXKeyBackupState backupState = self.mainSession.crypto.backup.state;
|
||||
[self.signOutAlertPresenter
|
||||
presentFor:backupState
|
||||
from:self
|
||||
sourceView:self.signOutButton
|
||||
animated:YES];
|
||||
MXKeyBackup *keyBackup = self.mainSession.crypto.backup;
|
||||
|
||||
[self.signOutAlertPresenter presentFor:keyBackup.state
|
||||
areThereKeysToBackup:keyBackup.hasKeysToBackup
|
||||
from:self
|
||||
sourceView:self.signOutButton
|
||||
animated:YES];
|
||||
}
|
||||
|
||||
- (void)onRemove3PID:(NSIndexPath*)path
|
||||
|
||||
Reference in New Issue
Block a user