Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Hmmm. That doesn't seem to work for me either. Can you take a look at the minimal example? What I am seeing in that one is that the action and color is maintained even after the list item has moved. Maybe I just have a stupid mistake somewhere? Commented May 27, 2020 at 18:44
  • What color do you mean? Commented May 27, 2020 at 18:46
  • The heart should change to a filled red heart. Commented May 27, 2020 at 18:49
  • Basically the behavior I am seeing is that the item moves up to the favorites section, but the icon and action are not changed. If I navigate to another view and back, it is updated correctly. Commented May 27, 2020 at 18:53
  • 1
    Thank you!!! I feel like SwiftUI should handle this situation. I will post to the developer forums to see if they are interested in fixing it : ) Commented May 27, 2020 at 19:42