Merge pull request 'Retour à l'accueil suite à la deconnexion' (#66) from yvan into master
continuous-integration/drone/push Build is failing Details

Reviewed-on: remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD#66
pull/67/head
Yvan CALATAYUD 2 years ago
commit 813837f9b1

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

@ -42,7 +42,7 @@ public partial class PageProfil : ContentPage
async void OnDisconnect_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e) 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; ProfilManager.ConnectedUser = null;
} }
} }
Loading…
Cancel
Save