From 65406e05f8088317df0360b687a3d9d9f17741e2 Mon Sep 17 00:00:00 2001 From: Ruben Date: Wed, 2 Oct 2024 17:10:58 +0200 Subject: [PATCH] Change IStorageFile path #164 --- src/PicView.Avalonia/FileSystem/FilePickerHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PicView.Avalonia/FileSystem/FilePickerHelper.cs b/src/PicView.Avalonia/FileSystem/FilePickerHelper.cs index da34a5f8f..f8023270a 100644 --- a/src/PicView.Avalonia/FileSystem/FilePickerHelper.cs +++ b/src/PicView.Avalonia/FileSystem/FilePickerHelper.cs @@ -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); } } \ No newline at end of file