mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Replace the UserPreference property wrapper with the new macro version.
This commit is contained in:
@@ -51,7 +51,7 @@ final class NotificationManager: NSObject, NotificationManagerProtocol {
|
||||
MXLog.info("App setting 'enableNotifications' is '\(notificationsEnabled)'")
|
||||
|
||||
// Listen for changes to AppSettings.enableNotifications
|
||||
appSettings.$enableNotifications
|
||||
appSettings.enableNotificationsPublisher
|
||||
.sink { [weak self] newValue in
|
||||
self?.enableNotifications(newValue)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user