Fix sign out warning presentation on iPad

This commit is contained in:
SBiOSoftWhare
2019-02-15 12:42:07 +01:00
parent 4e8188fe32
commit 6acbdf82bb
2 changed files with 24 additions and 6 deletions

View File

@@ -2711,7 +2711,11 @@ SignOutAlertPresenterDelegate>
self.signOutButton = (UIButton*)sender;
MXKeyBackupState backupState = self.mainSession.crypto.backup.state;
[self.signOutAlertPresenter presentFor:backupState from:self animated:YES];
[self.signOutAlertPresenter
presentFor:backupState
from:self
sourceView:self.signOutButton
animated:YES];
}
- (void)onRemove3PID:(NSIndexPath*)path