From 7db2326a984e1eaf10e1ee52e8ca057a0f4bc469 Mon Sep 17 00:00:00 2001
From: Ariver <ar@MacBook-Air.local>
Date: Wed, 06 May 2026 16:33:22 +0800
Subject: [PATCH] checkpoint: v3.0.4 — 修复新建 tag 消失的 bug:addNewTag 写 TagDatabase.createTag 持久化

---
 Apptag/ApptagApp.swift |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/Apptag/ApptagApp.swift b/Apptag/ApptagApp.swift
index 9d0db43..b93e706 100644
--- a/Apptag/ApptagApp.swift
+++ b/Apptag/ApptagApp.swift
@@ -401,10 +401,6 @@
                 }
 
                 Section {
-                    Toggle("Hide app names", isOn: $hideAppNames)
-                }
-
-                Section {
                     LabeledContent("Tag position:") {
                         Picker("", selection: $tagPosition) {
                             Text("Left").tag("left")
@@ -432,8 +428,6 @@
                     Text("Adjust the size of group-name labels in the overlay.")
                         .font(.caption)
                         .foregroundStyle(.secondary)
-                } header: {
-                    Text("Appearance")
                 }
 
                 Section {
@@ -449,8 +443,10 @@
                     Text("Icon display size. Grid columns adjust automatically.")
                         .font(.caption)
                         .foregroundStyle(.secondary)
-                } header: {
-                    Text("Layout")
+                }
+
+                Section {
+                    Toggle("Hide app names", isOn: $hideAppNames)
                 }
             }
             .tabItem { Label("General", systemImage: "gearshape") }

--
Gitblit v1.9.3