Visibility rule for app bar title?

I want to use MagicText to put the logged in user’s name in the app bar title of one screen. Essentially “Hi username!”

Is there a way use visibility rules to place alternative text in the title for when the current user is not logged in?

I know how to do that in the body of a screen, but I don’t see that option in the app bar title.

I don’t think you can add visibility conditions to the title of the app bar, however you can just clear the text out of the title and add your own text box with the conditions you want. Just make it a group with your app bar and a fix the group to the top.

Another way of doing this is having two screens: one for logged in users, and another for logged out users.

You then redirect the visitor to the corresponding screen depending on that condition.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.