Add null check when displaying image in form
This commit is contained in:
parent
ef2adfd474
commit
120fb58da7
@ -97,7 +97,9 @@ namespace FileLiberator.AaxcDownloadDecrypt
|
|||||||
TitleDiscovered?.Invoke(this, aaxcDownloader.Title);
|
TitleDiscovered?.Invoke(this, aaxcDownloader.Title);
|
||||||
AuthorsDiscovered?.Invoke(this, aaxcDownloader.Author);
|
AuthorsDiscovered?.Invoke(this, aaxcDownloader.Author);
|
||||||
NarratorsDiscovered?.Invoke(this, aaxcDownloader.Narrator);
|
NarratorsDiscovered?.Invoke(this, aaxcDownloader.Narrator);
|
||||||
CoverImageFilepathDiscovered?.Invoke(this, aaxcDownloader.CoverArt);
|
|
||||||
|
if (aaxcDownloader.CoverArt is not null)
|
||||||
|
CoverImageFilepathDiscovered?.Invoke(this, aaxcDownloader.CoverArt);
|
||||||
|
|
||||||
// override default which was set in CreateAsync
|
// override default which was set in CreateAsync
|
||||||
var proposedOutputFile = Path.Combine(destinationDir, $"{PathLib.ToPathSafeString(libraryBook.Book.Title)} [{libraryBook.Book.AudibleProductId}].m4b");
|
var proposedOutputFile = Path.Combine(destinationDir, $"{PathLib.ToPathSafeString(libraryBook.Book.Title)} [{libraryBook.Book.AudibleProductId}].m4b");
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
||||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
|
||||||
<Version>4.4.0.181</Version>
|
<Version>5.0.0.1</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user