Skip to content

Commit 762e4ee

Browse files
Update AppBuilderExtensions.shared.cs
1 parent 1db0e9d commit 762e4ee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CommunityToolkit.Maui/AppBuilderExtensions.shared.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public static MauiAppBuilder UseMauiCommunityToolkit(this MauiAppBuilder builder
2828
options?.Invoke(new Options(builder));
2929

3030
// Pass `null` because `options?.Invoke()` will set options on both `CommunityToolkit.Maui` and `CommunityToolkit.Maui.Core`
31+
// Be sure to call `.UseMauiCommunityToolkitCore(null)` after `options.Invoke(new Options(builder))` to ensure `CommunityToolkit.Maui.Core.Options` have already been set
3132
builder.UseMauiCommunityToolkitCore(null);
3233

3334
builder.Services.AddSingleton<IPopupService, PopupService>();

0 commit comments

Comments
 (0)