I have a .Net MAUI app with CommunityToolkit.Mvvm that uses shell nagivation:
<FlyoutItem>
...
<ShellContent Title="Video Chat"
Icon="{StaticResource IconVideoChat}"
ContentTemplate="{DataTemplate videoChat:VideoChatPage}"
FlyoutItemIsVisible="False"
IsVisible="{Binding IsVideoChatVisible}" />
...
</FlyoutItem>
Upon clicking on this item, VideoChatPage opens. I need before opening that page to check if the user is logged in, and if not, let them do it. If the user fails to do it (cancels from the login screen), the page should not open. How can I do that? How can I intercept the shell item click?