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)
|
try? FileManager.default.createDirectory(at: imagesDirectory, withIntermediateDirectories: true)
|
||||||
load()
|
load()
|
||||||
if sections.isEmpty {
|
if sections.isEmpty {
|
||||||
let inbox = Section(name: "Inbox")
|
let workspace = Section(name: "Workspace")
|
||||||
sections = [inbox]
|
sections = [workspace]
|
||||||
activeSectionID = inbox.id
|
activeSectionID = workspace.id
|
||||||
save()
|
save()
|
||||||
}
|
}
|
||||||
if activeSectionID == nil || !sections.contains(where: { $0.id == activeSectionID }) {
|
if activeSectionID == nil || !sections.contains(where: { $0.id == activeSectionID }) {
|
||||||
|
|||||||
Reference in New Issue
Block a user