fix: fix null issue.

This commit is contained in:
rabbitism
2024-01-28 00:33:05 +08:00
parent 0e5f5082ae
commit 300ef5a07e

View File

@@ -20,6 +20,7 @@ public class SemiTheme: Styles
private readonly IServiceProvider? sp; private readonly IServiceProvider? sp;
public SemiTheme(IServiceProvider? provider = null) public SemiTheme(IServiceProvider? provider = null)
{ {
sp = provider;
AvaloniaXamlLoader.Load(provider, this); AvaloniaXamlLoader.Load(provider, this);
} }