1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 21:38:38 +00:00

UI - fixed file picker messing up paths

fixes #778
This commit is contained in:
Diogo Trindade 2023-04-13 11:53:51 +01:00
parent 45f02c1573
commit 2f270c9c03

View File

@ -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();
}
}