diff --git a/LivreLand/AppShell.xaml.cs b/LivreLand/AppShell.xaml.cs index 3a9374d..83caf95 100644 --- a/LivreLand/AppShell.xaml.cs +++ b/LivreLand/AppShell.xaml.cs @@ -15,6 +15,7 @@ public partial class AppShell : Shell Routing.RegisterRoute("library/date/", typeof(FiltrageDateView)); Routing.RegisterRoute("library/note/", typeof(FiltrageNoteView)); Routing.RegisterRoute("library/contacts/", typeof(ContactsView)); + Routing.RegisterRoute("library/scan/", typeof(ScanView)); Routing.RegisterRoute("library/tous/details/", typeof(DetailsLivreView)); InitializeComponent(); } diff --git a/LivreLand/LivreLand.csproj b/LivreLand/LivreLand.csproj index 47c0609..8fac7be 100644 --- a/LivreLand/LivreLand.csproj +++ b/LivreLand/LivreLand.csproj @@ -53,6 +53,7 @@ + @@ -137,6 +138,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile diff --git a/LivreLand/MauiProgram.cs b/LivreLand/MauiProgram.cs index 64b132b..5844d00 100644 --- a/LivreLand/MauiProgram.cs +++ b/LivreLand/MauiProgram.cs @@ -1,4 +1,5 @@ -using CommunityToolkit.Maui; +using Camera.MAUI; +using CommunityToolkit.Maui; using LivreLand.View; using LivreLand.View.ContentViews; using LivreLand.ViewModel; @@ -17,6 +18,7 @@ public static class MauiProgram builder .UseMauiApp() .UseMauiCommunityToolkit() + .UseMauiCameraView() .ConfigureFonts(fonts => { fonts.AddFont("SF-Compact-Display-Black.otf", "SFCompactDisplayBlack"); @@ -35,6 +37,7 @@ public static class MauiProgram .AddSingleton() .AddSingleton() .AddSingleton() + .AddSingleton() .AddSingleton() @@ -54,7 +57,8 @@ public static class MauiProgram .AddSingleton() .AddSingleton() .AddSingleton() - .AddSingleton(); + .AddSingleton() + .AddSingleton(); #if DEBUG builder.Logging.AddDebug(); diff --git a/LivreLand/Platforms/Android/AndroidManifest.xml b/LivreLand/Platforms/Android/AndroidManifest.xml index e9937ad..f89971c 100644 --- a/LivreLand/Platforms/Android/AndroidManifest.xml +++ b/LivreLand/Platforms/Android/AndroidManifest.xml @@ -3,4 +3,5 @@ + \ No newline at end of file diff --git a/LivreLand/View/ContentViews/PopupHomePlusButtonView.xaml b/LivreLand/View/ContentViews/PopupHomePlusButtonView.xaml index 8185e04..9b3b577 100644 --- a/LivreLand/View/ContentViews/PopupHomePlusButtonView.xaml +++ b/LivreLand/View/ContentViews/PopupHomePlusButtonView.xaml @@ -26,10 +26,6 @@ Margin="10,5,10,5">