Skip to content

Commit

Permalink
using correct JSImport path for getFile and getFolder
Browse files Browse the repository at this point in the history
  • Loading branch information
nickodei committed Dec 18, 2024
1 parent 0ab93f6 commit 8121655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Browser/Avalonia.Browser/Interop/StorageHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ internal static partial class StorageHelper
[JSImport("StorageProvider.createFolder", AvaloniaModule.StorageModuleName)]
public static partial Task<JSObject?> CreateFolder(JSObject folderHandle, string name);

[JSImport("StorageProvider.getFile", AvaloniaModule.StorageModuleName)]
[JSImport("StorageItem.getFile", AvaloniaModule.StorageModuleName)]
public static partial Task<JSObject?> GetFile(JSObject folderHandle, string name);

[JSImport("StorageProvider.getFolder", AvaloniaModule.StorageModuleName)]
[JSImport("StorageItem.getFolder", AvaloniaModule.StorageModuleName)]
public static partial Task<JSObject?> GetFolder(JSObject folderHandle, string name);
}

0 comments on commit 8121655

Please sign in to comment.