I am making a chat app between 2 users.
How can I change the colour of either the title depending on whether each row in my data viewer list contains the word “Patient”?
The title’s text is under “Sender Name” in my database, hence I tried to do it in a way that scans for the word “Patient” under the “Sender Name” column in my database for each row, and if it does exists, then the colour of the text should be red.
However, the colour of the text remains unchanged.
This is a screenshot of my blocks:
Note that ‘app variable patient name’ is set to “Patient” currently.
Thank you for taking the time to help me.