Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcidev committed Aug 28, 2024
1 parent cb3585e commit 12c8b47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Client.UI/ViewModels/User/UserListViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public UserListViewModel()
ReloadFriendRequests();
ReloadBlockedUsers();

AddFriendCmd = new (async (o) => await HandlerUser(o as string, UserRelationAction.AddFriend));
BlockUserCmd = new (async (o) => await HandlerUser(o as string, UserRelationAction.BlockUser));
AddFriendCmd = new (async (o) => await HandleUser(o as string, UserRelationAction.AddFriend));
BlockUserCmd = new (async (o) => await HandleUser(o as string, UserRelationAction.BlockUser));
}

public void Dispose()
Expand Down Expand Up @@ -93,7 +93,7 @@ private void ReloadBlockedUsers()
});
}

private static Task HandlerUser(string name, UserRelationAction action)
private static Task HandleUser(string name, UserRelationAction action)
{
if (string.IsNullOrEmpty(name))
return Task.CompletedTask;
Expand Down

0 comments on commit 12c8b47

Please sign in to comment.