Reset data after folder change
This commit is contained in:
@ -15,7 +15,7 @@ extension Content {
|
||||
private static let dbPath = FileManager.default.documentDirectory.appendingPathComponent("db").path()
|
||||
|
||||
static let mock: Content = Content(
|
||||
settings: .mock,
|
||||
settings: .default,
|
||||
posts: [.empty, .mock, .fullMock],
|
||||
pages: [.empty],
|
||||
tags: [.hiking, .mountains, .nature, .sports],
|
||||
|
@ -2,7 +2,7 @@ import Foundation
|
||||
|
||||
extension Settings {
|
||||
|
||||
static let mock: Settings = .init(
|
||||
static let `default`: Settings = .init(
|
||||
paths: .default,
|
||||
navigationItems: [],
|
||||
posts: .default,
|
||||
|
Reference in New Issue
Block a user