diff --git a/Sources/Vues/Accueil.xaml.cs b/Sources/Vues/Accueil.xaml.cs index 9cc98cf..f909d09 100644 --- a/Sources/Vues/Accueil.xaml.cs +++ b/Sources/Vues/Accueil.xaml.cs @@ -21,6 +21,7 @@ namespace Vues private async void Invite_Clicked(object sender, EventArgs e) { + (Application.Current as App).User = null; await Navigation.PushAsync(new SearchMob()); } } diff --git a/Sources/Vues/SearchMob.xaml b/Sources/Vues/SearchMob.xaml index 0108dda..b5536b8 100644 --- a/Sources/Vues/SearchMob.xaml +++ b/Sources/Vues/SearchMob.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit" xmlns:shape="Microsoft.Maui.Controls.Shapes" + xmlns:model="clr-namespace:Model;assembly=Modèle" x:Class="Vues.SearchMob" BackgroundImageSource="backcollection.jpg"> @@ -200,6 +201,29 @@