diff --git a/src/AvaloniaInside.Shell/AppBuilderExtensions.cs b/src/AvaloniaInside.Shell/AppBuilderExtensions.cs index d7918e6..353a705 100644 --- a/src/AvaloniaInside.Shell/AppBuilderExtensions.cs +++ b/src/AvaloniaInside.Shell/AppBuilderExtensions.cs @@ -8,7 +8,7 @@ namespace AvaloniaInside.Shell; public static class AppBuilderExtensions { public static AppBuilder UseShell(this AppBuilder builder, Func? viewLocatorFactory = null) => - builder.AfterPlatformServicesSetup(_ => + builder.AfterPlatformServicesSetup(_ => Locator.RegisterResolverCallbackChanged(() => { if (Locator.CurrentMutable is null) { @@ -37,7 +37,7 @@ public static AppBuilder UseShell(this AppBuilder builder, Func viewFactory) => builder.UseShell(() => new DelegateNavigationViewLocator(viewFactory));