Skip to content

Commit e9e028e

Browse files
committed
remove redunants
1 parent 723054c commit e9e028e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ios/NitroNotification.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ class NitroNotification: HybridNitroNotificationSpec {
1515
return Promise.async {
1616
print("[NitroNotification] requestPermissions called")
1717
let center = UNUserNotificationCenter.current()
18-
center.delegate = NotificationHub.shared
19-
NotificationHub.shared.setupTokenObserver()
2018
print("[NitroNotification] requesting authorization")
2119
let granted = try await center.requestAuthorization(options: [.alert, .sound, .badge])
2220
print("[NitroNotification] authorization granted: \(granted)")

0 commit comments

Comments
 (0)