I am creating a To-Do list app (Reminder situation) and when I get the users text input (their reminder) I am placing that into a variable which shows it into the list viewer. The only problem is that if the user variable has no Text inputs (Reminders) I want a greeting label to show (like a welcome piece of text). I inputed that piece of text into a variable (welcome Text) and then placed it into a “if else” block who’s logic is :
Call Local storage (where I’m saving all the inputed reminders), then get the “Reminders” (the key). If the value is equal to “null” then set the list view’s text to variable "App Variable welcome Text " else set list views text to “App Variable Reminders”
The problem :