1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-21 17:57:46 +08:00

Make field readonly

This commit is contained in:
Bartłomiej Dach 2021-11-18 22:50:41 +01:00
parent 8a1d6757af
commit 0eaf450204
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -17,8 +17,9 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
public class DownloadButton : BeatmapCardIconButton
{
private readonly APIBeatmapSet beatmapSet;
private readonly Bindable<DownloadState> downloadState = new Bindable<DownloadState>();
private Bindable<bool> preferNoVideo = null!;
private Bindable<DownloadState> downloadState = new Bindable<DownloadState>();
[Resolved]
private BeatmapManager beatmaps { get; set; } = null!;