fix crash

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

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

Loading…
Cancel
Save