File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ public static class AppBuilderExtensions
2424 /// <returns><see cref="MauiAppBuilder"/> initialized for <see cref="CommunityToolkit.Maui"/></returns>
2525 public static MauiAppBuilder UseMauiCommunityToolkit ( this MauiAppBuilder builder , Action < Options > ? options = null )
2626 {
27- // Pass `null` because `options?.Invoke()` will set options on both `CommunityToolkit.Maui` and `CommunityToolkit.Maui.Core`
28- builder . UseMauiCommunityToolkitCore ( null ) ;
29-
3027 // Invokes options for both `CommunityToolkit.Maui` and `CommunityToolkit.Maui.Core`
3128 options ? . Invoke ( new Options ( builder ) ) ;
3229
30+ // Pass `null` because `options?.Invoke()` will set options on both `CommunityToolkit.Maui` and `CommunityToolkit.Maui.Core`
31+ builder . UseMauiCommunityToolkitCore ( null ) ;
32+
3333 builder . Services . AddSingleton < IPopupService , PopupService > ( ) ;
3434
3535 builder . ConfigureMauiHandlers ( static h =>
You can’t perform that action at this time.
0 commit comments