From 300ef5a07e5c863826bfb293589ccd8579332a97 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Sun, 28 Jan 2024 00:33:05 +0800 Subject: [PATCH] fix: fix null issue. --- src/Ursa.Themes.Semi/Index.axaml.cs | 1 + 1 file changed, 1 insertion(+) 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); }