how can i update a variable everywhere in the app (and make it permament)?

Hi!

Sorry for the newbie question but i need to understand the following:

Let say i have a profile page, and at the top shows the [Display_Name] variable.

Now, i have an "edit Profile" page, where i can change the display name, and for that i use a bottom sheet, that pops up and allows me to change the name. 2 things happen:

  • If i go back to the profile page, the [Display_Name] there didn't change, and

  • If i go back to the edit profile page, the edited name (which i just changed) is back to default.

Additional info:

  • In the "edit Profile" page i'm using the action output, which makes me use a default value. for now i just use "my name" as default value. This value is there every time i go back to the page.

I know i'm doing something wrong, i just can't figure out what.

Thanks

1
8 replies