Comment out code that isn’t needed yet and that triggers a crash.

This commit is contained in:
Brent Simmons 2017-05-29 11:39:00 -07:00
parent 039c99be5e
commit 0eab757a06

View File

@ -52,14 +52,14 @@ public final class ArticleStylesManager {
init() {
UserDefaults.standard.register(defaults: [styleKey: defaultStyleName])
let defaultStylesFolder = (Bundle.main.resourcePath! as NSString).appendingPathComponent(stylesInResourcesFolderName)
do {
try FileManager.default.rs_copyFiles(inFolder: defaultStylesFolder, destination: folderPath)
}
catch {
print(error)
}
//
// let defaultStylesFolder = (Bundle.main.resourcePath! as NSString).appendingPathComponent(stylesInResourcesFolderName)
// do {
// try FileManager.default.rs_copyFiles(inFolder: defaultStylesFolder, destination: folderPath)
// }
// catch {
// print(error)
// }
currentStyle = ArticleStyle.defaultStyle