|
|
@@ -86,6 +86,12 @@ internal class SupportedFilesHelper
|
|
|
string? localPath = file.TryGetLocalPath();
|
|
|
|
|
|
string extension = Path.GetExtension(localPath ?? file.Name);
|
|
|
+
|
|
|
+ if (string.IsNullOrEmpty(extension))
|
|
|
+ {
|
|
|
+ return allSupportedExtensions.First(i => i.CanSave);
|
|
|
+ }
|
|
|
+
|
|
|
return allSupportedExtensions.Single(i => i.CanSave && i.Extensions.Contains(extension, StringComparer.OrdinalIgnoreCase));
|
|
|
}
|
|
|
|