We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0cd9a commit fbde41bCopy full SHA for fbde41b
AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Support/Internal/StorageBackgroundEventsRegistry.swift
@@ -42,8 +42,7 @@ actor StorageBackgroundEventsRegistry {
42
/// - Parameters:
43
/// - identifier: session identifier
44
private static func notifyWaiting(for identifier: String) {
45
- let notificationCenter = notificationCenter ?? NotificationCenter.default
46
- notificationCenter.post(name: Notification.Name.StorageBackgroundEventsRegistryWaiting, object: identifier)
+ notificationCenter?.post(name: Notification.Name.StorageBackgroundEventsRegistryWaiting, object: identifier)
47
}
48
49
// The storage plugin will register the session identifier when it is configured.
0 commit comments