mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Comment out code that isn’t needed yet and that triggers a crash.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user