Add the ability to import themes on iOS

This commit is contained in:
Maurice Parker
2021-09-12 14:46:15 -05:00
parent 3a09ff2db7
commit cad91d9415
2 changed files with 85 additions and 0 deletions

View File

@@ -162,6 +162,11 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
}
}
let filename = context.url.standardizedFileURL.path
if filename.hasSuffix(ArticleTheme.nnwThemeSuffix) {
self.coordinator.importTheme(filename: filename)
}
}
}