You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
691 B

using Microsoft.Extensions.Logging;
using CommunityToolkit.Maui;
namespace Views
{
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseMauiCommunityToolkit()
.ConfigureFonts(fonts =>
{
fonts.AddFont("DMSerifDisplay-Regular.ttf", "DMSerifDisplay");
fonts.AddFont("Raleway-Light.ttf", "Raleway");
});
#if DEBUG
builder.Logging.AddDebug();
#endif
return builder.Build();
}
}
}