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)
{
case KudosuAction.VoteGive:
return @"Received";
case KudosuAction.Give:
case KudosuAction.AllowKudosuGive:
case KudosuAction.RestoreGive:
case KudosuAction.RecalculateGive:
return @"Received";
case KudosuAction.VoteReset:
return @"Lost";
case KudosuAction.DenyKudosuReset:
return @"Denied";
case KudosuAction.AllowKudosuGive:
return @"Received";
case KudosuAction.DeleteReset:
return @"Lost";
case KudosuAction.RestoreGive:
return @"Received";
case KudosuAction.RecalculateGive:
return @"Received";
case KudosuAction.VoteReset:
case KudosuAction.RecalculateReset:
return @"Lost";