migrate mobile blazor code to p14

pull/60/head
Miguel Ángel Barrera 2022-04-12 11:59:59 +02:00
parent 8983f2efcc
commit b41761d640
1 changed files with 1 additions and 2 deletions

View File

@ -18,10 +18,9 @@ public static class MauiProgram
{ {
var builder = MauiApp.CreateBuilder(); var builder = MauiApp.CreateBuilder();
builder builder
.RegisterBlazorMauiWebView()
.UseMauiApp<App>(); .UseMauiApp<App>();
builder.Services.AddBlazorWebView(); builder.Services.AddMauiBlazorWebView();
builder.Services.AddHttpClient<PodcastService>(client => builder.Services.AddHttpClient<PodcastService>(client =>
{ {
client.BaseAddress = new Uri(APIUrl); client.BaseAddress = new Uri(APIUrl);