From 3a09ff2db7db636af2def4b7cef61505bca4eb12 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 12 Sep 2021 13:30:15 -0500 Subject: [PATCH] Change so that we are using the ArticleTheme definition of the suffix --- Mac/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 64a8e1a7d..d56800522 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -320,7 +320,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, } func application(_ sender: NSApplication, openFile filename: String) -> Bool { - guard filename.hasSuffix(".nnwtheme") else { return false } + guard filename.hasSuffix(ArticleTheme.nnwThemeSuffix) else { return false } importTheme(filename: filename) return true }