[iPad] Fixes crash when resolving sync merge conflicts

This commit is contained in:
Riley Testut 2023-05-02 13:45:56 -05:00
parent ea260cb8a6
commit 00121bd31f

View File

@ -358,6 +358,7 @@ private extension RecordVersionsViewController
}
let alertController = UIAlertController(title: nil, message: message, preferredStyle: .actionSheet)
alertController.popoverPresentationController?.barButtonItem = sender
alertController.addAction(.cancel)
alertController.addAction(UIAlertAction(title: actionTitle, style: .destructive) { (action) in
self.restoreVersion()