diff --git a/framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiNotificationService.cs b/framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiNotificationService.cs index 05c1cd5163..ca79b02e98 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiNotificationService.cs +++ b/framework/src/Volo.Abp.BlazoriseUI/BlazoriseUiNotificationService.cs @@ -1,7 +1,5 @@ using System; using System.Threading.Tasks; -using Localization.Resources.AbpUi; -using Microsoft.Extensions.Localization; using Volo.Abp.AspNetCore.Components.WebAssembly; using Volo.Abp.DependencyInjection; @@ -15,14 +13,6 @@ namespace Volo.Abp.BlazoriseUI /// public event EventHandler NotificationReceived; - private readonly IStringLocalizer localizer; - - public BlazoriseUiNotificationService( - IStringLocalizer localizer) - { - this.localizer = localizer; - } - public Task Info(string message, string title = null, Action options = null) { var uiNotificationOptions = CreateDefaultOptions(); @@ -65,9 +55,7 @@ namespace Volo.Abp.BlazoriseUI protected virtual UiNotificationOptions CreateDefaultOptions() { - return new UiNotificationOptions - { - }; + return new UiNotificationOptions(); } } }