I need to change one of my tabs' content depending on the condition of the user logged in or just a guest
this is my shell
<?xml version="1.0" encoding="utf-8" ?>
<Shell xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:pages="clr-namespace:E_commerce_App.Views.Pages"
xmlns:views="clr-namespace:E_commerce_App.Views" x:DataType="views:TabContainer"
x:Class="E_commerce_App.Views.TabContainer"
TabBarBackgroundColor="#F7F7F7" BackgroundColor="red"
TabBarTitleColor="red" TabBarUnselectedColor="Black"
>
<TabBar>
<Tab Title="Categories" Icon="menu.png">
<ShellContent>
<pages:Categories />
</ShellContent>
</Tab>
<Tab Title="Cart" Icon="cart.png">
<ShellContent >
<pages:Cart />
</ShellContent>
</Tab>
<Tab Title="Profile" Icon="user.png">
<ShellContent
ContentTemplate="{DataTemplate pages:Profile}" />
</Tab>
</TabBar>
</Shell>