1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

Group common prefixes together

This commit is contained in:
Dean Herbert 2019-09-02 15:44:21 +09:00
parent c06908adf7
commit da45070373

View File

@ -120,29 +120,17 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
switch (historyItem.Action) switch (historyItem.Action)
{ {
case KudosuAction.VoteGive: case KudosuAction.VoteGive:
return @"Received";
case KudosuAction.Give: case KudosuAction.Give:
case KudosuAction.AllowKudosuGive:
case KudosuAction.RestoreGive:
case KudosuAction.RecalculateGive:
return @"Received"; return @"Received";
case KudosuAction.VoteReset:
return @"Lost";
case KudosuAction.DenyKudosuReset: case KudosuAction.DenyKudosuReset:
return @"Denied"; return @"Denied";
case KudosuAction.AllowKudosuGive:
return @"Received";
case KudosuAction.DeleteReset: case KudosuAction.DeleteReset:
return @"Lost"; case KudosuAction.VoteReset:
case KudosuAction.RestoreGive:
return @"Received";
case KudosuAction.RecalculateGive:
return @"Received";
case KudosuAction.RecalculateReset: case KudosuAction.RecalculateReset:
return @"Lost"; return @"Lost";