Skip to content

Commit 0ec662f

Browse files
authored
Added more file types in new file menu (#8598)
1 parent d687232 commit 0ec662f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Files.Launcher/Helpers/ShellNewMenuHelper.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ private static async Task<ShellNewEntry> ParseShellNewRegistryEntry(RegistryKey
7878

7979
var extension = root.Name.Substring(root.Name.LastIndexOf('\\') + 1);
8080
var fileName = (string)key.GetValue("FileName");
81-
if (!string.IsNullOrEmpty(fileName) && Path.GetExtension(fileName) != extension)
82-
{
83-
return null;
84-
}
8581

8682
byte[] data = null;
8783
var dataObj = key.GetValue("Data");

0 commit comments

Comments
 (0)