03/26/2023, 8:46 AM
Hello, i have updated compose to 1.4.0 and now after switching theme the text doesn't follow changes until I restart the app. Could someone check this behaviour in other apps?

Stylianos Gakis

03/26/2023, 9:12 PM
There's a lot that may be happening. Mismatching material2 and material3 content color - and the text composable Using a color for the text which isn't part of the colorScheme, so it can't find the right content color to use. Using BasicText instead of the m3.Text composable, which afaik doesn't do all this content color logic. Are you experiencing the correct behavior when bumping back to the old version without any other code changes? That'd be quite odd 🤔