Only show screen when there is not data in local storage

Hi there!

In my app, I am storing a number inputed in to text input by the user, and I am showing that on a label, but I would like to know how to only navigate to a screen if the user has not yet entered a number into the text input, so there is nothing in the local storage.

Specifically to my app, the user is asked to set them-self a goal of how many books they want to read and if they have already entered the goal, they go straight to the “YearGoalProgress” screen, but if they haven’t entered a goal, when they try to go to that screen, they are transferred to the “YearGoal” where they enter their goal and get sent to the progress page.

Here is the link to the project (it’s a bit of a mess atm, because I was trying to solve different problems):

Thank you in advance for your help :slight_smile:

so, therefore, if the user has entered a value, they can’t go back to that screen?