Log whether a notification is expected to make a noise. (#3782)

* Log whether a notification is expected to make a noise.

* Also log the system notification sound setting too.
This commit is contained in:
Doug
2025-02-11 09:59:46 +00:00
committed by GitHub
parent 8680d8437b
commit f6a1d38972
5 changed files with 74 additions and 1 deletions
@@ -94,6 +94,9 @@ final class NotificationManager: NSObject, NotificationManagerProtocol {
self?.delegate?.registerForRemoteNotifications()
}
}
let settings = await notificationCenter.notificationSettings()
MXLog.info("Notification sound enabled: \(settings.soundSetting == .enabled)")
}
}