fix: fix null issue.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user