From cfe11f537b8615051ce56bf4eccb625a207fb33a Mon Sep 17 00:00:00 2001 From: lobroda Date: Sat, 7 Oct 2023 07:37:11 +0100 Subject: [PATCH] =?UTF-8?q?ADD=20:=20Avancement=20page=20D=C3=A9tails=20Bo?= =?UTF-8?q?ok=20+=20Filtrage=20Auteur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LivreLand/MauiProgram.cs | 6 +- LivreLand/View/ALirePlusTardView.xaml.cs | 2 +- LivreLand/View/DetailsLivreView.xaml | 23 +++-- LivreLand/View/DetailsLivreView.xaml.cs | 16 ++- LivreLand/View/EmpruntsPretsView.xaml.cs | 2 +- LivreLand/View/FavorisView.xaml.cs | 2 +- LivreLand/View/FiltrageAuteurView.xaml | 115 +++------------------- LivreLand/View/FiltrageAuteurView.xaml.cs | 27 ++++- LivreLand/View/StatutLectureView.xaml.cs | 2 +- LivreLand/View/TousView.xaml | 12 ++- LivreLand/View/TousView.xaml.cs | 6 +- LivreLand/ViewModel/DetailsLivreVM.cs | 28 ++++++ LivreLand/ViewModel/FiltrageAuteurVM.cs | 31 ++++++ ViewModels/ManagerVM.cs | 25 +++++ 14 files changed, 178 insertions(+), 119 deletions(-) create mode 100644 LivreLand/ViewModel/DetailsLivreVM.cs create mode 100644 LivreLand/ViewModel/FiltrageAuteurVM.cs diff --git a/LivreLand/MauiProgram.cs b/LivreLand/MauiProgram.cs index d214428..106d7c2 100644 --- a/LivreLand/MauiProgram.cs +++ b/LivreLand/MauiProgram.cs @@ -25,8 +25,9 @@ public static class MauiProgram builder.Services .AddSingleton() .AddSingleton() + .AddSingleton() - .AddSingleton() + .AddSingleton() .AddSingleton() .AddSingleton() @@ -34,7 +35,8 @@ public static class MauiProgram .AddSingleton() - .AddSingleton(); + .AddSingleton() + .AddSingleton(); #if DEBUG builder.Logging.AddDebug(); diff --git a/LivreLand/View/ALirePlusTardView.xaml.cs b/LivreLand/View/ALirePlusTardView.xaml.cs index 0b16014..dc615ef 100644 --- a/LivreLand/View/ALirePlusTardView.xaml.cs +++ b/LivreLand/View/ALirePlusTardView.xaml.cs @@ -17,6 +17,6 @@ public partial class ALirePlusTardView : ContentPage void OnSelectionChanged(object sender, SelectionChangedEventArgs e) { - App.Current.MainPage.Navigation.PushAsync(new DetailsLivreView()); + //App.Current.MainPage.Navigation.PushAsync(new DetailsLivreView()); } } \ No newline at end of file diff --git a/LivreLand/View/DetailsLivreView.xaml b/LivreLand/View/DetailsLivreView.xaml index 2d72071..a913610 100644 --- a/LivreLand/View/DetailsLivreView.xaml +++ b/LivreLand/View/DetailsLivreView.xaml @@ -58,7 +58,7 @@ Stroke="{StaticResource Gray}" StrokeShape="RoundRectangle 3" StrokeThickness="3"> - @@ -70,7 +70,7 @@ Margin="0,97,20,0" VerticalOptions="End"/> -