mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
send objectWillChange.send() when getting a new node.
This commit is contained in:
parent
4d26512dba
commit
7c1d694aad
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ func upsertNodeInfoPacket (packet: MeshPacket, context: NSManagedObjectContext)
|
|||
print("💥 Error Inserting New Core Data MyInfoEntity: \(nsError)")
|
||||
}
|
||||
newNode.myInfo = myInfoEntity
|
||||
newNode.objectWillChange.send()
|
||||
|
||||
} else {
|
||||
// Update an existing node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue