[frontend/components] Remove bite notice from bite profile action to match bite note action

This commit is contained in:
pancakes 2025-02-26 13:00:38 +10:00
parent 435ad656c7
commit e922b5dd04
No known key found for this signature in database

View file

@ -268,11 +268,7 @@
private void EditProfile() => Nav.NavigateTo("/settings/profile");
private async Task Bite()
{
await Api.Users.BiteUserAsync(UserResponse.Id);
await GlobalComponentSvc.NoticeDialog?.Display(Loc["Bit {0}", UserResponse.DisplayName ?? UserResponse.Username])!;
}
private void Bite() => Api.Users.BiteUserAsync(UserResponse.Id);
private async Task RemoveFromFollowersAction(bool confirm)
{