From 00121bd31f79ed8ce101f70be237e46eaf05b15e Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Tue, 2 May 2023 13:45:56 -0500 Subject: [PATCH] [iPad] Fixes crash when resolving sync merge conflicts --- Delta/Settings/Syncing/RecordVersionsViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Delta/Settings/Syncing/RecordVersionsViewController.swift b/Delta/Settings/Syncing/RecordVersionsViewController.swift index 65f62da..c7ccd2c 100644 --- a/Delta/Settings/Syncing/RecordVersionsViewController.swift +++ b/Delta/Settings/Syncing/RecordVersionsViewController.swift @@ -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()