UI - fixed file picker messing up paths

fixes #778
This commit is contained in:
Diogo Trindade committed 2023-04-13 11:53:51 +01:00
1 parent 45f02c1573
commit 2f270c9c03
1 file changed
+1 -1
@@ -78,6 +78,6 @@ public class OpenFileDialogBuilder
public async Task<string[]?> ShowAsync()
{
IReadOnlyList<IStorageFile> files = await _parent.StorageProvider.OpenFilePickerAsync(_options);
return files.Select(f => f.Path.AbsolutePath).ToArray();
return files.Select(f => f.Path.LocalPath).ToArray();
}
}