From 65437d74faf13f3366977f8c640f9b7cc5097e0e Mon Sep 17 00:00:00 2001 From: HMatheo Date: Thu, 1 Jun 2023 19:56:06 +0200 Subject: [PATCH] Fixed bugs --- MangaMap/Views/FicheAnime.xaml.cs | 4 ++-- MangaMap/Views/signUpPage.xaml.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MangaMap/Views/FicheAnime.xaml.cs b/MangaMap/Views/FicheAnime.xaml.cs index 0b49980..f2327b4 100644 --- a/MangaMap/Views/FicheAnime.xaml.cs +++ b/MangaMap/Views/FicheAnime.xaml.cs @@ -74,8 +74,8 @@ public partial class ficheAnime : ContentPage, INotifyPropertyChanged my_manager.sauvegarder(); - //await Navigation.PushAsync(new listPage()); - await Shell.Current.GoToAsync("//page/secondaire/listPage"); + await Navigation.PushAsync(new listPage()); + //await Shell.Current.GoToAsync("//page/secondaire/listPage"); } diff --git a/MangaMap/Views/signUpPage.xaml.cs b/MangaMap/Views/signUpPage.xaml.cs index 352cff7..b3df9bd 100644 --- a/MangaMap/Views/signUpPage.xaml.cs +++ b/MangaMap/Views/signUpPage.xaml.cs @@ -78,7 +78,7 @@ public partial class signUpPage : ContentPage my_manager.Utilisateurs.Add(util); my_manager.sauvegarder(); my_manager.UtilisateurActuel = util; - await Navigation.PushAsync(new homePage()); + await Shell.Current.GoToAsync("//page/homePage"); return; } }