From 2dee0cb91a374ef74eb6a69aa0901c2aa0b9bc1c Mon Sep 17 00:00:00 2001 From: pancakes Date: Sun, 23 Feb 2025 17:13:11 +1000 Subject: [PATCH] [frontend/pages] Fix button text in mute and unmute actions --- Iceshrimp.Frontend/Pages/ProfileView.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Iceshrimp.Frontend/Pages/ProfileView.razor b/Iceshrimp.Frontend/Pages/ProfileView.razor index 501e5312..adcca528 100644 --- a/Iceshrimp.Frontend/Pages/ProfileView.razor +++ b/Iceshrimp.Frontend/Pages/ProfileView.razor @@ -287,7 +287,7 @@ GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback(this, RemoveFromFollowersAction), Loc["Remove {0} from followers?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Remove follower"]); private void Mute() => - GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback(this, MuteCallback), Loc["Mute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Block"]); + GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback(this, MuteCallback), Loc["Mute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Mute"]); private async Task MuteCallback(bool confirm) { @@ -331,7 +331,7 @@ } private void Unmute() => - GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback(this, UnmuteCallback), Loc["Unmute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Unblock"]); + GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback(this, UnmuteCallback), Loc["Unmute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Unmute"]); private async Task UnmuteCallback(bool confirm) {