diff --git a/src/Ursa.Themes.Semi/Index.axaml.cs b/src/Ursa.Themes.Semi/Index.axaml.cs index c7945a9..a0eeea4 100644 --- a/src/Ursa.Themes.Semi/Index.axaml.cs +++ b/src/Ursa.Themes.Semi/Index.axaml.cs @@ -20,6 +20,7 @@ public class SemiTheme: Styles private readonly IServiceProvider? sp; public SemiTheme(IServiceProvider? provider = null) { + sp = provider; AvaloniaXamlLoader.Load(provider, this); }