priority fixes for notification operations

color fixes for legacy notifications
This commit is contained in:
Scott Pfeil 2023-06-07 09:56:52 -04:00
parent 928ef15b1f
commit a72fa2af2a

View File

@ -203,7 +203,7 @@ public class NotificationOperation: MVMCoreOperation {
}
public func log(message: String) {
MVMCoreUILoggingHandler.logDebugMessage(withDelegate: "------Notification message: \(message) type: \(notificationModel.type) id: \(notificationModel.id) priority: e\(notificationModel.priority.rawValue) a\(queuePriority.rawValue) operation: \(String(describing: self)) ------")
MVMCoreUILoggingHandler.logDebugMessage(withDelegate: "------Notification message: \(message) type: \(notificationModel.type) title: \(String(describing: (notificationModel.molecule as? NotificationMoleculeModel)?.headline.text)) id: \(notificationModel.id) priority: e\(notificationModel.priority.rawValue) a\(queuePriority.rawValue) operation: \(String(describing: self)) ------")
}
// MARK: - Automatic
@ -395,6 +395,7 @@ open class NotificationHandler {
operation.updateDisplayable(by: currentPageType)
queue.addOperation(operation)
operation.log(message: "Operation Added")
reevaluteQueue()
}