Native navigation

This commit is contained in:
2025-07-02 14:12:39 +02:00
parent ddbf9c832e
commit ddc596ef58
20 changed files with 138 additions and 32 deletions

View File

@@ -13,6 +13,7 @@ using salesbook.Shared.Core.Messages.Activity.Copy;
using salesbook.Shared.Core.Messages.Activity.New;
using salesbook.Shared.Core.Messages.Back;
using salesbook.Shared.Core.Services;
using System.Globalization;
namespace salesbook.Maui
{
@@ -24,6 +25,9 @@ namespace salesbook.Maui
{
InteractiveRenderSettings.ConfigureBlazorHybridRenderModes();
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("it-IT");
CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("it-IT");
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
@@ -61,6 +65,10 @@ namespace salesbook.Maui
builder.Services.AddSingleton<IFormFactor, FormFactor>();
builder.Services.AddSingleton<LocalDbService>();
builder.Services.AddSingleton<INavigationService, NavigationService>();
builder.Services.AddSingleton<IPageTitleService, PageTitleService>();
builder.Services.AddTransient<PersonalInfo>();
return builder.Build();
}
}