From 1b4110640600f57402e35fe9137546d4009948cc Mon Sep 17 00:00:00 2001 From: Jade VAN BRABANDT Date: Wed, 26 Apr 2023 16:22:53 +0200 Subject: [PATCH] fix : nav bar sur la page detailled des jeux --- Sources/Stim/Stim/DetailledPage.xaml | 2 -- Sources/Stim/Stim/HeaderView.xaml | 23 ----------------------- Sources/Stim/Stim/HeaderView.xaml.cs | 21 --------------------- Sources/Stim/Stim/MainPage.xaml.cs | 4 ++-- Sources/Stim/Stim/Stim.csproj | 9 --------- 5 files changed, 2 insertions(+), 57 deletions(-) delete mode 100644 Sources/Stim/Stim/HeaderView.xaml delete mode 100644 Sources/Stim/Stim/HeaderView.xaml.cs diff --git a/Sources/Stim/Stim/DetailledPage.xaml b/Sources/Stim/Stim/DetailledPage.xaml index a065b91..46132d9 100644 --- a/Sources/Stim/Stim/DetailledPage.xaml +++ b/Sources/Stim/Stim/DetailledPage.xaml @@ -19,8 +19,6 @@ - - diff --git a/Sources/Stim/Stim/HeaderView.xaml b/Sources/Stim/Stim/HeaderView.xaml deleted file mode 100644 index 85ea6d0..0000000 --- a/Sources/Stim/Stim/HeaderView.xaml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/Sources/Stim/Stim/HeaderView.xaml.cs b/Sources/Stim/Stim/HeaderView.xaml.cs deleted file mode 100644 index 2258d3c..0000000 --- a/Sources/Stim/Stim/HeaderView.xaml.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Stim; - -public partial class HeaderView : ContentView -{ - public HeaderView() - { - InitializeComponent(); - } - private async void goToMainPage(object sender, EventArgs e) - { - await Navigation.PushModalAsync(new MainPage()); - } - private async void goToFollowPage(object sender, EventArgs e) - { - await Navigation.PushModalAsync(new FollowPage()); - } - private async void goToProfilPage(object sender, EventArgs e) - { - await Navigation.PushModalAsync(new ProfilPage()); - } -} \ No newline at end of file diff --git a/Sources/Stim/Stim/MainPage.xaml.cs b/Sources/Stim/Stim/MainPage.xaml.cs index 3cad7eb..de82315 100644 --- a/Sources/Stim/Stim/MainPage.xaml.cs +++ b/Sources/Stim/Stim/MainPage.xaml.cs @@ -9,11 +9,11 @@ public partial class MainPage : ContentPage private async void Button_Clicked(object sender, EventArgs e) { - await Navigation.PushModalAsync(new DetailledPage()); + await Navigation.PushAsync(new DetailledPage()); } private async void goToMainPage(object sender, EventArgs e) { - await Navigation.PushModalAsync(new MainPage()); + await Navigation.PushAsync(new MainPage()); } } diff --git a/Sources/Stim/Stim/Stim.csproj b/Sources/Stim/Stim/Stim.csproj index 17b184f..cfb0955 100644 --- a/Sources/Stim/Stim/Stim.csproj +++ b/Sources/Stim/Stim/Stim.csproj @@ -48,19 +48,10 @@ - - - HeaderView.xaml - - - MSBuild:Compile - - MSBuild:Compile -