Retour à l'accueil suite à la deconnexion
continuous-integration/drone/push Build is failing Details

pull/66/head
Yvan CALATAYUD 2 years ago
parent 838fd231a3
commit a0b1a80c0e

@ -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