Hey guys,

If you are testing this app on a device with dark mode enabled, you might notice that the Text is always rendered white by default. To fix this bug, you can created a named colour with different appearances for Light and Dark modes. (We covered how to do this in the Clima module).

Then you can add a modifier to the Text object in the InfoView to use the named colour.

e.g.

.foregroundColor(Color("Info Color"))

Alternatively check out the completed app for the implementation.