Skip to content

Commit 69180cb

Browse files
authored
Fix ListemItem unsubscribe (#8068)
1 parent ccb8bd4 commit 69180cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files/Filesystem/ListedItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public BitmapImage FileImage
174174
get => fileImage;
175175
set
176176
{
177-
if (value is BitmapImage imgOld)
177+
if (fileImage is BitmapImage imgOld)
178178
{
179179
imgOld.ImageOpened -= Img_ImageOpened;
180180
}

0 commit comments

Comments
 (0)