From 0eaf450204c397fa58c7b310ccefe574f9e851cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Dach?= Date: Thu, 18 Nov 2021 22:50:41 +0100 Subject: [PATCH] Make field readonly --- osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs b/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs index 737c4c4697..325181598d 100644 --- a/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs +++ b/osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs @@ -17,8 +17,9 @@ namespace osu.Game.Beatmaps.Drawables.Cards.Buttons public class DownloadButton : BeatmapCardIconButton { private readonly APIBeatmapSet beatmapSet; + private readonly Bindable downloadState = new Bindable(); + private Bindable preferNoVideo = null!; - private Bindable downloadState = new Bindable(); [Resolved] private BeatmapManager beatmaps { get; set; } = null!;