commit
3804348919
|
@ -37,6 +37,10 @@ public static class MauiProgram
|
|||
builder.Services.AddScoped<ComponentStatePersistenceManager>();
|
||||
builder.Services.AddScoped<PersistentComponentState>(sp => sp.GetRequiredService<ComponentStatePersistenceManager>().State);
|
||||
|
||||
#if DEBUG
|
||||
builder.Services.AddBlazorWebViewDeveloperTools();
|
||||
#endif
|
||||
|
||||
return builder.Build();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,6 +25,6 @@ public partial class App : MauiWinUIApplication
|
|||
{
|
||||
base.OnLaunched(args);
|
||||
|
||||
Microsoft.Maui.Essentials.Platform.OnLaunched(args);
|
||||
Microsoft.Maui.ApplicationModel.Platform.OnLaunched(args);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue