count check
This commit is contained in:
parent
b64c5ad3e3
commit
abe08aa269
@ -42,6 +42,7 @@ public extension MVMCoreAlertHandler {
|
||||
for case let operation as MVMCoreTopAlertOperation in topAlertQueue.operations {
|
||||
if !operation.isCancelled,
|
||||
let pages = operation.topAlertObject.json?.optionalArrayForKey("pages") as? [String],
|
||||
pages.count > 0,
|
||||
(pageType == nil || !pages.contains(pageType!)) {
|
||||
if operation.isExecuting {
|
||||
operation.reAddAfterCancel = operation.topAlertObject.persistent
|
||||
|
||||
Loading…
Reference in New Issue
Block a user