mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
fix crash
This commit is contained in:
parent
c68350f3d8
commit
f88c2b1708
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue