diff --git a/GameAtlas/GameAtlas/GameAtlas.csproj.user b/GameAtlas/GameAtlas/GameAtlas.csproj.user
index ac890c6..0a945fc 100644
--- a/GameAtlas/GameAtlas/GameAtlas.csproj.user
+++ b/GameAtlas/GameAtlas/GameAtlas.csproj.user
@@ -3,7 +3,7 @@
False
net7.0-android
- Xiaomi 2201117SY (Android 12.0 - API 31)
+ Google Pixel 6a (Android 13.0 - API 33)
PhysicalDevice
pixel_5_-_api_33_1
diff --git a/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml b/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml
index c9279a7..45d38b4 100644
--- a/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml
+++ b/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml
@@ -4,6 +4,6 @@
x:Class="GameAtlas.Views.Composants.BoutonVoir">
-
+
diff --git a/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs b/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs
index 7b4789a..6183131 100644
--- a/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs
+++ b/GameAtlas/GameAtlas/Views/Composants/BoutonVoir.xaml.cs
@@ -6,4 +6,9 @@ public partial class BoutonVoir : ContentView
{
InitializeComponent();
}
+
+ private async void OnVoirClicked(object sender, EventArgs e)
+ {
+ await Shell.Current.GoToAsync(nameof(PageJeu));
+ }
}
\ No newline at end of file
diff --git a/GameAtlas/GameAtlas/Views/PageJeu.xaml b/GameAtlas/GameAtlas/Views/PageJeu.xaml
index 1adf327..c873982 100644
--- a/GameAtlas/GameAtlas/Views/PageJeu.xaml
+++ b/GameAtlas/GameAtlas/Views/PageJeu.xaml
@@ -4,7 +4,7 @@
x:Class="GameAtlas.Views.PageJeu"
Title="PageJeu">
-
+
@@ -29,13 +29,13 @@
-
+
-
+
diff --git a/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs b/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs
index d1014c0..98aa0af 100644
--- a/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs
+++ b/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs
@@ -6,11 +6,15 @@ namespace GameAtlas.Views;
public partial class PageJeu : ContentPage
{
- public Manager JeuManager => (App.Current as App).MyManager;
+ public Jeu jeuModel { get; set; }
+
+ public Manager JeuManager { get; set; } = new Manager();
public PageJeu()
{
InitializeComponent();
+
+ BindingContext = this;
}
async void Back_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e)