[frontend/pages] Fix button text in mute and unmute actions
This commit is contained in:
parent
030d3bbbae
commit
2dee0cb91a
1 changed files with 2 additions and 2 deletions
|
@ -287,7 +287,7 @@
|
||||||
GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback<bool>(this, RemoveFromFollowersAction), Loc["Remove {0} from followers?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Remove follower"]);
|
GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback<bool>(this, RemoveFromFollowersAction), Loc["Remove {0} from followers?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Remove follower"]);
|
||||||
|
|
||||||
private void Mute() =>
|
private void Mute() =>
|
||||||
GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback<bool>(this, MuteCallback), Loc["Mute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Block"]);
|
GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback<bool>(this, MuteCallback), Loc["Mute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Mute"]);
|
||||||
|
|
||||||
private async Task MuteCallback(bool confirm)
|
private async Task MuteCallback(bool confirm)
|
||||||
{
|
{
|
||||||
|
@ -331,7 +331,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Unmute() =>
|
private void Unmute() =>
|
||||||
GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback<bool>(this, UnmuteCallback), Loc["Unmute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Unblock"]);
|
GlobalComponentSvc.ConfirmDialog?.Confirm(new EventCallback<bool>(this, UnmuteCallback), Loc["Unmute {0}?", UserResponse.DisplayName ?? UserResponse.Username], buttonText: Loc["Unmute"]);
|
||||||
|
|
||||||
private async Task UnmuteCallback(bool confirm)
|
private async Task UnmuteCallback(bool confirm)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue