From c220b9ef9767afd2e494af034dc5a5b451ccfa82 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Thu, 24 Mar 2022 14:01:04 -0500 Subject: [PATCH] Fix MauiProgram AddMauiBlazorWebView for Preview14 --- src/MobileBlazor/mauiapp/MauiProgram.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MobileBlazor/mauiapp/MauiProgram.cs b/src/MobileBlazor/mauiapp/MauiProgram.cs index 6e8ea09..46a10dc 100644 --- a/src/MobileBlazor/mauiapp/MauiProgram.cs +++ b/src/MobileBlazor/mauiapp/MauiProgram.cs @@ -18,10 +18,10 @@ public static class MauiProgram { var builder = MauiApp.CreateBuilder(); builder + .RegisterBlazorMauiWebView() .UseMauiApp(); builder.Services.AddBlazorWebView(); - builder.Services.AddMauiBlazorWebView(); builder.Services.AddHttpClient(client => { client.BaseAddress = new Uri(APIUrl);