From 08ff53cae4f4d65d4ed211f9211ac4920e36b626 Mon Sep 17 00:00:00 2001
From: Ariver <ar@MacBook-Air.local>
Date: Wed, 06 May 2026 18:46:05 +0800
Subject: [PATCH] checkpoint: v3.1.4 — 三个Toggle并排一行,等距排版

---
 Apptag/AppGridItem.swift |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Apptag/AppGridItem.swift b/Apptag/AppGridItem.swift
index 8a2263a..b3b8141 100644
--- a/Apptag/AppGridItem.swift
+++ b/Apptag/AppGridItem.swift
@@ -6,6 +6,7 @@
 struct AppGridItem: View {
     let app: AppInfo
     let iconSize: CGFloat
+    var showName: Bool = true
     let onSelect: () -> Void
 
     @State private var isHovered = false
@@ -30,6 +31,7 @@
                     .lineLimit(1)
                     .truncationMode(.tail)
                     .frame(maxWidth: iconSize + 20)
+                    .opacity(showName ? 1 : (isHovered ? 0.85 : 0))
             }
             .padding(.vertical, 8)
             .padding(.horizontal, 4)

--
Gitblit v1.9.3