Skip to content

Commit

Permalink
sum colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kinsi55 committed Dec 17, 2021
1 parent 6fdaf7a commit 07d7ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/SongListController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public bool CheckIsDownloadable() {
public string fullFormattedSongName => $"{detailsSong.songAuthorName} - {detailsSong.songName}";
public string uploadDateFormatted => detailsSong.uploadTime.ToString("dd. MMM yyyy", new CultureInfo("en-US"));
public string songLength => detailsSong.songDuration.ToString("mm\\:ss");
public string songRating => showVotesInsteadOfRating ? $"👍 {detailsSong.upvotes} 👎 {detailsSong.downvotes}" : $"{detailsSong.rating:0.0%}";
public string songRating => showVotesInsteadOfRating ? $"<color=#9C9>👍 {detailsSong.upvotes} <color=#C99>👎 {detailsSong.downvotes}" : $"{detailsSong.rating:0.0%}";

public string songLengthAndRating => $"{(isQualified ? "<color=#96C>🚩 Qualified</color> " : "")}{songLength} {songRating}";
//public string levelAuthorName => song.levelAuthorName;
Expand Down

0 comments on commit 07d7ec4

Please sign in to comment.