Fix IDE0005 and IDE0034

This commit is contained in:
Huo Yaoyuan
2022-05-02 20:07:53 +08:00
parent 4f16da8932
commit 7cf4dabe29
6 changed files with 6 additions and 9 deletions

View File

@ -62,7 +62,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
private void updateProgress(APIUser user)
{
levelProgressBar.Length = user?.Statistics?.Level.Progress / 100f ?? 0;
levelProgressText.Text = user?.Statistics?.Level.Progress.ToLocalisableString("0'%'") ?? default(LocalisableString);
levelProgressText.Text = user?.Statistics?.Level.Progress.ToLocalisableString("0'%'") ?? default;
}
}
}