diff --git a/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs b/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs index 037fba4..d1014c0 100644 --- a/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs +++ b/GameAtlas/GameAtlas/Views/PageJeu.xaml.cs @@ -1,17 +1,20 @@ using GameAtlas.Models; using System.Diagnostics; -namespace GameAtlas.Views; - -public partial class PageJeu : ContentPage -{ - +namespace GameAtlas.Views; + +public partial class PageJeu : ContentPage +{ + public Manager JeuManager => (App.Current as App).MyManager; - public PageJeu() - { + public PageJeu() + { InitializeComponent(); - } - - + } + + async void Back_Tapped(System.Object sender, Microsoft.Maui.Controls.TappedEventArgs e) + { + await Navigation.PopAsync(); + } } \ No newline at end of file