mirror of https://github.com/ppy/osu
rename `FriendDeleteRequest` to `DeleteFriendRequest`
This commit is contained in:
parent
21b1c799f3
commit
fbe6077ec2
|
@ -6,11 +6,11 @@
|
|||
|
||||
namespace osu.Game.Online.API.Requests
|
||||
{
|
||||
public class FriendDeleteRequest : APIRequest
|
||||
public class DeleteFriendRequest : APIRequest
|
||||
{
|
||||
public readonly int TargetId;
|
||||
|
||||
public FriendDeleteRequest(int targetId)
|
||||
public DeleteFriendRequest(int targetId)
|
||||
{
|
||||
TargetId = targetId;
|
||||
}
|
|
@ -89,7 +89,7 @@ private void load(IAPIProvider api, INotificationOverlay? notifications)
|
|||
|
||||
ShowLoadingLayer();
|
||||
|
||||
APIRequest req = status.Value == FriendStatus.None ? new AddFriendRequest(User.Value.User.OnlineID) : new FriendDeleteRequest(User.Value.User.OnlineID);
|
||||
APIRequest req = status.Value == FriendStatus.None ? new AddFriendRequest(User.Value.User.OnlineID) : new DeleteFriendRequest(User.Value.User.OnlineID);
|
||||
|
||||
req.Success += () =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue