remove print statements
This commit is contained in:
parent
b26e01b18c
commit
fd4e6ae96b
@ -34,7 +34,6 @@ public extension MVMCoreAlertHandler {
|
||||
let pagesOperation = NotificationPagesOperation(with: pages)
|
||||
pageOperations.addOperation(pagesOperation)
|
||||
operation.addDependency(pagesOperation)
|
||||
print("TYTYT added dependency \(operation)")
|
||||
}
|
||||
|
||||
/// checks top alerts for page dependencies with the new pageType
|
||||
@ -47,12 +46,10 @@ public extension MVMCoreAlertHandler {
|
||||
if operation.isExecuting {
|
||||
operation.reAddAfterCancel = operation.topAlertObject.persistent
|
||||
operation.cancel()
|
||||
print("TYTYT cancelled current \(operation)")
|
||||
} else if !operation.dependencies.contains(where: { !$0.isFinished }) {
|
||||
let pagesOperation = NotificationPagesOperation(with: pages)
|
||||
pageOperations.addOperation(pagesOperation)
|
||||
operation.addDependency(pagesOperation)
|
||||
print("TYTYT re-added previouly removed \(operation)")
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -62,7 +59,6 @@ public extension MVMCoreAlertHandler {
|
||||
for case let operation as NotificationPagesOperation in pageOperations.operations {
|
||||
if operation.pages.contains(pageType) {
|
||||
operation.cancel()
|
||||
print("TYTYT cancel dependency \(operation)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user