From b4e711746d7c723ef1d51c22d636c51047c7708d Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 2 Sep 2018 11:48:59 -0700 Subject: [PATCH] Allow selecting an OPML file that has a .xml file extension. Fix #355. --- NetNewsWire/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetNewsWire/AppDelegate.swift b/NetNewsWire/AppDelegate.swift index 5203f8a6c..d89619ab1 100644 --- a/NetNewsWire/AppDelegate.swift +++ b/NetNewsWire/AppDelegate.swift @@ -352,7 +352,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, panel.allowsMultipleSelection = false panel.canChooseDirectories = false panel.resolvesAliases = true - panel.allowedFileTypes = ["opml"] + panel.allowedFileTypes = ["opml", "xml"] panel.allowsOtherFileTypes = false let result = panel.runModal()