Use event return value instead of passing a set delegate.

This commit is contained in:
Michael Bucari-Tovo 2022-05-24 15:47:30 -06:00
parent c88f47eed4
commit bc0009be6c
3 changed files with 11 additions and 13 deletions

View file

@ -247,7 +247,7 @@ namespace FileLiberator
if (e is not null)
OnCoverImageDiscovered(e);
else if (Configuration.Instance.AllowLibationFixup)
OnRequestCoverArt(abDownloader.SetCoverArt);
abDownloader.SetCoverArt(OnRequestCoverArt());
}
/// <summary>Move new files to 'Books' directory</summary>