Skip to content

Commit

Permalink
Fix YouTube icons not downloading properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwilarg committed Jul 31, 2024
1 parent e87c493 commit aaee091
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions downloader/Downloader/ViewModels/YoutubeDownloadViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Media.Imaging;
using Avalonia.Threading;
using Downloader.Models;
using Downloader.Views;
using MsBox.Avalonia;
using MsBox.Avalonia.Enums;
using ReactiveUI;
Expand Down Expand Up @@ -54,7 +52,7 @@ public YoutubeDownloadViewModel(MainViewModel mainViewModel)
if (CanInputAlbumUrl)
{
await foreach (var prog in ProcessManager.DownloadImageAsync(MainViewModel.Client, AlbumUrl, MainViewModel.GetImagePath(imagePath)))
await foreach (var prog in ProcessManager.DownloadImageAsync(MainViewModel.Client, AlbumUrl, imagePath))
{
DownloadImage = prog;
}
Expand Down

0 comments on commit aaee091

Please sign in to comment.