setting pageJSON for alertobject
This commit is contained in:
parent
12331e284b
commit
3c8046587b
@ -36,6 +36,7 @@ public extension MVMCoreAlertObject {
|
||||
actions: actionsForAlert,
|
||||
isGreedy: false)
|
||||
|
||||
alertObject?.pageJson = actionJson?.optionalDictionaryForKey(KeyPage)
|
||||
if let alertStyle = alertJson.optionalStringForKey("style") {
|
||||
alertObject?.alertStyle = UIAlertController.Style(rawValue: alertStyle)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user