allow action delegate to perform the actiopn
This commit is contained in:
parent
f1195bb882
commit
0da94465b3
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user