mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Pass context to CoreData entity initializer
This commit is contained in:
parent
91817a72e3
commit
644305bc5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue