Don't crash on iPad when logging out of all accounts (IOS-245)
This commit is contained in:
parent
0ca3d773b5
commit
be01db62b7
|
@ -167,6 +167,7 @@ extension AccountListViewController: UITableViewDelegate {
|
|||
}
|
||||
|
||||
alert.addAction(logoutAction)
|
||||
alert.popoverPresentationController?.sourceView = tableView.cellForRow(at: indexPath)
|
||||
|
||||
let cancelAction = UIAlertAction(title: L10n.Common.Controls.Actions.cancel, style: .default)
|
||||
alert.addAction(cancelAction)
|
||||
|
|
Loading…
Reference in New Issue