Migration Guide to v2.1

Version 2.1 comes with some changes. You should follow this docuemnt to migrate your code to the new version properly.

Changes

UraniumUI has a couple of changes in this version. Applying following changes to your code will make it compatible with UraniumUI v2.1.

  • Material Theme should be initialized in MauiProgram.cs

    builder
        .UseMauiApp<App>()
        .UseUraniumUI()
        .UseUraniumUIMaterial() // 👈 This is new!
        .ConfigureFonts(fonts =>
        {
            fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
            fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
            fonts.AddMaterialIconFonts();
        });
    
  • You should add following style changes into your resources if you overrided the default style.

In this document