fix crash

pull/484/head
Ryan Zhao 4 years ago
parent c68350f3d8
commit f88c2b1708

@ -269,8 +269,10 @@ public class NotificationPresenter: NSObject, NotificationsProtocol {
@objc @objc
public func cancelNotification(_ identifier: String) { public func cancelNotification(_ identifier: String) {
DispatchQueue.main.async {
self.adaptee.cancelNotification(identifier: identifier) self.adaptee.cancelNotification(identifier: identifier)
} }
}
@objc @objc
public func cancelNotifications(threadId: String) { public func cancelNotifications(threadId: String) {

Loading…
Cancel
Save