Hiho,
I think I am being a bit of a dummy right now, but can't really figure it out. Maybe need a nudge in the right direction.
I want to change a style based on a calculation with data coming from an API.
I have two classes. negative and positive. All that has to change is the color of the text.
The calculation and conditional are in the screenshot.
There are also the classes in the style with the respective color changes.
But nothing happens.
Tried the Docs with AI, but I seem to miss something here..