I tried to reproduce my problem in a sample project. It took a while because the sample project was working. I was able to resolve it by using string interpolation in my Text()
fields. Changing Text(item.type)
to Text("\(item.type)")
made the problem go away. No idea why. 😡