From 4934ad916a901ccac3f631d7e594fbf437701e4c Mon Sep 17 00:00:00 2001 From: TZGyn Date: Wed, 7 Oct 2026 21:21:07 +0800 Subject: [PATCH] Rename the default section to Workspace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 💘 Generated with Crush Assisted-by: Crush:kimi-k3 --- Sources/Prompt/Store.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Prompt/Store.swift b/Sources/Prompt/Store.swift index e31b9e1..e208ea6 100644 --- a/Sources/Prompt/Store.swift +++ b/Sources/Prompt/Store.swift @@ -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 }) {