feat(Toasts) Adding toasts
This commit is contained in:
@@ -4,6 +4,7 @@ using Services;
|
||||
using Services.Development;
|
||||
using Services.Immortal;
|
||||
using Services.Website;
|
||||
using System.Globalization;
|
||||
|
||||
#if NO_SQL
|
||||
#else
|
||||
@@ -11,6 +12,11 @@ using Contexts;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
#endif
|
||||
|
||||
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("en-US");
|
||||
CultureInfo.DefaultThreadCurrentUICulture = new CultureInfo("en-US");
|
||||
|
||||
|
||||
|
||||
var builder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
builder.Logging.SetMinimumLevel(LogLevel.Warning);
|
||||
|
||||
@@ -19,6 +25,8 @@ builder.RootComponents.Add<HeadOutlet>("head::after");
|
||||
|
||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
|
||||
|
||||
builder.Services.AddLocalization();
|
||||
|
||||
|
||||
builder.Services.AddSingleton<INavigationService, NavigationService>();
|
||||
builder.Services.AddSingleton<IKeyService, KeyService>();
|
||||
@@ -40,6 +48,7 @@ builder.Services.AddSingleton(new HttpClient
|
||||
|
||||
|
||||
builder.Services.AddSingleton<IEntityDialogService, EntityDialogService>();
|
||||
builder.Services.AddSingleton<IToastService, ToastService>();
|
||||
|
||||
#if NO_SQL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user