Rename the default section to Workspace
💘 Generated with Crush
Assisted-by: Crush:kimi-k3
This commit is contained in:
@@ -47,9 +47,9 @@ final class Store: ObservableObject {
|
||||
try? FileManager.default.createDirectory(at: imagesDirectory, withIntermediateDirectories: true)
|
||||
load()
|
||||
if sections.isEmpty {
|
||||
let inbox = Section(name: "Inbox")
|
||||
sections = [inbox]
|
||||
activeSectionID = inbox.id
|
||||
let workspace = Section(name: "Workspace")
|
||||
sections = [workspace]
|
||||
activeSectionID = workspace.id
|
||||
save()
|
||||
}
|
||||
if activeSectionID == nil || !sections.contains(where: { $0.id == activeSectionID }) {
|
||||
|
||||
Reference in New Issue
Block a user