Skip to content

Commit 6b8e48a

Browse files
Update FontsMauiAppBuilderExtensions.cs
1 parent fa6451e commit 6b8e48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/src/Hosting/Fonts/FontsMauiAppBuilderExtensions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static MauiAppBuilder ConfigureFonts(this MauiAppBuilder builder, Action<
3636
builder.Services.AddSingleton<FontsRegistration>(new FontsRegistration(configureDelegate));
3737
}
3838
builder.Services.TryAddEnumerable(
39-
ServiceDescriptor.Transient<IMauiInitializeService>(
39+
ServiceDescriptor.Transient<FontInitializer>(
4040
svc => new FontInitializer(svc.GetServices<FontsRegistration>(), svc.GetRequiredService<IFontRegistrar>())
4141
)
4242
);

0 commit comments

Comments
 (0)