setting pageJSON for alertobject

This commit is contained in:
Krishna Kishore Bandaru 2021-12-10 19:37:26 +05:30
parent 12331e284b
commit 3c8046587b

View File

@ -36,6 +36,7 @@ public extension MVMCoreAlertObject {
actions: actionsForAlert, actions: actionsForAlert,
isGreedy: false) isGreedy: false)
alertObject?.pageJson = actionJson?.optionalDictionaryForKey(KeyPage)
if let alertStyle = alertJson.optionalStringForKey("style") { if let alertStyle = alertJson.optionalStringForKey("style") {
alertObject?.alertStyle = UIAlertController.Style(rawValue: alertStyle) alertObject?.alertStyle = UIAlertController.Style(rawValue: alertStyle)
} }