Skip to content

Commit

Permalink
Change IStorageFile path #164
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben2776 committed Oct 2, 2024
1 parent ae25b81 commit 65406e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PicView.Avalonia/FileSystem/FilePickerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static async Task PickAndSaveFileAsAsync(string? fileName, MainViewModel
return;
}

var destination = file.Path.AbsolutePath;
var destination = file.Path.LocalPath; // TODO: Handle macOS
await FileSaverHelper.SaveFileAsync(fileName, destination, vm);
}
}

0 comments on commit 65406e0

Please sign in to comment.