Skip to content

Commit 06eb235

Browse files
authored
Fix: Fixed NullReferenceException in BaseTransferItemAction.ExecuteTransferAsync (#16305)
1 parent 3fb2618 commit 06eb235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Actions/FileSystem/Transfer/BaseTransferItemAction.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public BaseTransferItemAction()
2525

2626
public async Task ExecuteTransferAsync(DataPackageOperation type = DataPackageOperation.Copy)
2727
{
28-
if (ContentPageContext.ShellPage is null ||
28+
if (ContentPageContext.ShellPage?.SlimContentPage is null ||
2929
ContentPageContext.ShellPage.SlimContentPage.IsItemSelected is false)
3030
return;
3131

0 commit comments

Comments
 (0)