Skip to content

Commit faec3b9

Browse files
committed
Cast operation changed to ShortcutItem
1 parent 47bf644 commit faec3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Data/Items/ListedItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ public override string ToString()
407407
public bool IsRecycleBinItem => this is RecycleBinItem;
408408
public bool IsShortcut => this is IShortcutItem;
409409
public bool IsLibrary => this is LibraryItem;
410-
public bool IsLinkItem => IsShortcut && ((IShortcutItem)this).IsUrl;
410+
public bool IsLinkItem => IsShortcut && ((ShortcutItem)this).IsUrl;
411411
public bool IsFtpItem => this is FtpItem;
412412
public bool IsArchive => this is ZipItem;
413413
public bool IsAlternateStream => this is AlternateStreamItem;

0 commit comments

Comments
 (0)