diff --git a/MVMCoreUI/Alerts/MVMCoreAlertObject+Swift.swift b/MVMCoreUI/Alerts/MVMCoreAlertObject+Swift.swift index ea9dfd98..0adae2e2 100644 --- a/MVMCoreUI/Alerts/MVMCoreAlertObject+Swift.swift +++ b/MVMCoreUI/Alerts/MVMCoreAlertObject+Swift.swift @@ -29,7 +29,7 @@ public extension MVMCoreAlertObject { let alertAction = UIAlertAction(title: alertButtonModel.title, style: alertButtonModel.style) { action in Task(priority: .userInitiated) { do { - try await MVMCoreUIActionHandler.shared()?.handleAction( + try await (delegateObject?.actionDelegate as? ActionDelegateProtocol)?.performAction( with: alertButtonModel.action, additionalData: additionalData, delegateObject: delegateObject