Fix sign out warning presentation on iPad

This commit is contained in:
SBiOSoftWhare
2019-02-15 12:42:07 +01:00
parent 75c48a6e94
commit c5f9205259
2 changed files with 24 additions and 6 deletions
@@ -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