diff --git a/StabilityMatrix.Avalonia/Converters/FileUriConverter.cs b/StabilityMatrix.Avalonia/Converters/FileUriConverter.cs index fe745fc7..751f5368 100644 --- a/StabilityMatrix.Avalonia/Converters/FileUriConverter.cs +++ b/StabilityMatrix.Avalonia/Converters/FileUriConverter.cs @@ -17,7 +17,7 @@ public class FileUriConverter : IValueConverter return value switch { - string str when str.StartsWith("avares") => new Uri(str), + string str when str.StartsWith("avares://") => new Uri(str), string str => new Uri("file://" + str), IFormattable formattable => new Uri("file://" + formattable.ToString(null, culture)), _ => null