flower-story/FlowerStory/MauiProgram.cs
2023-05-18 14:44:34 +08:00

28 lines
714 B
C#

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