Change to no longer copy app distributed themes to the Themes folder. Fixes #3447

This commit is contained in:
Maurice Parker
2022-02-07 16:23:08 -08:00
parent a501e4e0b0
commit 063da4ac02
4 changed files with 31 additions and 31 deletions

View File

@@ -11,7 +11,7 @@ import UIKit
struct ArticleThemeImporter {
static func importTheme(controller: UIViewController, filename: String) throws {
let theme = try ArticleTheme(path: filename)
let theme = try ArticleTheme(path: filename, isAppTheme: false)
let localizedTitleText = NSLocalizedString("Install theme “%@” by %@?", comment: "Theme message text")
let title = NSString.localizedStringWithFormat(localizedTitleText as NSString, theme.name, theme.creatorName) as String