diff --git a/src/NexusMods.App.UI/Pages/CollectionDownload/CollectionDownloadView.axaml.cs b/src/NexusMods.App.UI/Pages/CollectionDownload/CollectionDownloadView.axaml.cs index 3011bf6bf2..d113bd5f75 100644 --- a/src/NexusMods.App.UI/Pages/CollectionDownload/CollectionDownloadView.axaml.cs +++ b/src/NexusMods.App.UI/Pages/CollectionDownload/CollectionDownloadView.axaml.cs @@ -1,4 +1,5 @@ using System.Reactive.Disposables; +using Avalonia.Media; using Avalonia.ReactiveUI; using ReactiveUI; @@ -12,6 +13,15 @@ public CollectionDownloadView() this.WhenActivated(d => { + + // Uncomment this to enable the background image + /* + this.WhenAnyValue(view => view.ViewModel!.BackgroundImage) + .WhereNotNull() + .SubscribeWithErrorLogging(image => Body.Background = new ImageBrush { Source = image }) + .DisposeWith(d); + */ + this.WhenAnyValue(view => view.ViewModel!.TileImage) .WhereNotNull() .SubscribeWithErrorLogging(image => Image38.Source = image)