We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ffa4a commit 2458aceCopy full SHA for 2458ace
src/Files.App/Helpers/ShareItemHelpers.cs
@@ -23,6 +23,9 @@ public static bool IsItemShareable(ListedItem item)
23
24
public static async Task ShareItemsAsync(IEnumerable<ListedItem> itemsToShare)
25
{
26
+ if (itemsToShare is null)
27
+ return;
28
+
29
var interop = DataTransferManager.As<IDataTransferManagerInterop>();
30
IntPtr result = interop.GetForWindow(MainWindow.Instance.WindowHandle, InteropHelpers.DataTransferManagerInteropIID);
31
0 commit comments