Merge pull request #675 from 72A12F4E/fix-coredata-crash

Fix CoreData crash
This commit is contained in:
Ben Meadors 2024-06-07 08:31:34 -05:00 committed by GitHub
commit c9f1bf172e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ extension ExternalNotificationConfigEntity {
context: NSManagedObjectContext,
config: ModuleConfig.ExternalNotificationConfig
) {
self.init()
self.init(context: context)
self.enabled = config.enabled
self.usePWM = config.usePwm
self.alertBell = config.alertBell