Comment out code that isn’t needed yet and that triggers a crash.
This commit is contained in:
parent
039c99be5e
commit
0eab757a06
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user