setting pageJSON for alertobject
This commit is contained in:
parent
12331e284b
commit
3c8046587b
@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user