Hi all, this is definitely a major beginner question here but I’ve tried reading a lot of forums/watching tutorials and YouTube videos and still can’t quite get my logic to work.
I’m trying to create logic such that when the “dining” text is tapped it makes the font weight of the “dining” text be 700 and the “events” text be 100, and when the “events” text is tapped it makes the font weight of “events” be 700 and the font weight of the “dining” text be 100.
I created two page variables: diningFont with an initial value of 700 and eventFont with an initial value of 100. I then set font weight to be bound to each of these page variables for both the “dining” and “events” text. This is how it looks in its default state in the composer.
Here is my logic for the “dining” text as well. The “events” text is the same but with the font weights reversed.
However, upon previewing my app on my phone, both font weights default to 100 and nothing happens when I tap them despite the composer preview actually showing different font sizes.
What am I doing wrong? Thanks for the help here.