Retour à l'accueil suite à la deconnexion #66

Merged
yvan.calatayud merged 1 commits from yvan into master 2 years ago

@ -43,7 +43,7 @@
</Label>
</VerticalStackLayout>
<Image Source="logout.png">
<Image Source="logout.png" Grid.Column="2">
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="OnDisconnect_Tapped"/>
</Image.GestureRecognizers>

@ -42,7 +42,7 @@ public partial class PageProfil : ContentPage
async void OnDisconnect_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)
{
await Shell.Current.GoToAsync(nameof(PageAcceuil));
await Shell.Current.GoToAsync("//page/PageAccueil");
ProfilManager.ConnectedUser = null;
}
}
Loading…
Cancel
Save