using Blahblah.FlowerStory.Data; #if DEBUG using Microsoft.Extensions.Logging; #endif namespace Blahblah.FlowerStory { public static class MauiProgram { public static MauiApp CreateMauiApp() { var builder = MauiApp.CreateBuilder(); builder .UseMauiApp() .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); }) .ConfigureMauiHandlers(handlers => { }); #if DEBUG builder.Logging.AddDebug(); #endif builder.Services.AddSingleton(); builder.Services.AddSingleton(); builder.Services.AddLocalization(); return builder.Build(); } } }