Ios swift – View in SwiftUI does not get updated when model changes (using SwiftData)
I am inserting a new item into the modelContext (while on the single Deck) and the view is supposed to update automatically, but it does not. It refreshes only when I navigate back from a single Deck view to the…