Fix code quality

This commit is contained in:
Bartłomiej Dach 2024-07-26 14:45:39 +02:00
parent fc0ade2c61
commit 0996f9b0b5
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
public partial class DailyChallengeLeaderboard : CompositeDrawable
{
public IBindable<MultiplayerScore?> UserBestScore => userBestScore;
private Bindable<MultiplayerScore?> userBestScore = new Bindable<MultiplayerScore?>();
private readonly Bindable<MultiplayerScore?> userBestScore = new Bindable<MultiplayerScore?>();
public Action<long>? PresentScore { get; init; }

View File

@ -131,8 +131,8 @@ namespace osu.Game.Screens.OnlinePlay.DailyChallenge
public Bar(int binStart, int binEnd)
{
this.BinStart = binStart;
this.BinEnd = binEnd;
BinStart = binStart;
BinEnd = binEnd;
}
[Resolved]