Learn Courses My Dashboard

RecipeList app foreground color adjustment with Dark mode

Hi, In your RecipeList app, you explicitly set the Navigation Links to

However, when running this on a device with Dark mode on, the text disappears.

How should I solve this?

You should use


instead. This will show black text in light mode and white text in dark mode.

Works like a charm.
Thank you, roosterboy!