From e47223fbd1a6ec0c1ea417d36c4eff1feee93b81 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 30 May 2026 17:01:31 +0800
Subject: [PATCH] Prepare 7.8.3 release package

---
 Apptag/PreferencesView.swift |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/Apptag/PreferencesView.swift b/Apptag/PreferencesView.swift
index 37b2276..5a5137e 100644
--- a/Apptag/PreferencesView.swift
+++ b/Apptag/PreferencesView.swift
@@ -4,8 +4,8 @@
 // MARK: - Preferences View
 
 struct PreferencesView: View {
-    private let settingsWindowWidth: CGFloat = 880
-    private let settingsContentWidth: CGFloat = 820
+    private let settingsWindowWidth: CGFloat = 1000
+    private let settingsContentWidth: CGFloat = 940
     private let generalContentWidth: CGFloat = 720
     private let generalLabelWidth: CGFloat = 190
     private let generalControlWidth: CGFloat = 500
@@ -271,16 +271,12 @@
         isApplyingSystemScheme = true
 
         DispatchQueue.global(qos: .userInitiated).async {
-            let scannedApps = AppIndexer.scan(useCache: false)
-            let result = SmartStartService.applySystemInitialScheme(apps: scannedApps)
-            let store = result.store
-            let apps = TagEditor.annotate(apps: scannedApps, store: store)
-            let colors = store.tags.mapValues { $0.color }
+            let result = AppLibraryController.applySystemInitialScheme()
 
             DispatchQueue.main.async {
                 isApplyingSystemScheme = false
-                allApps = apps
-                tagColors = colors
+                allApps = result.snapshot.apps
+                tagColors = result.snapshot.tagColors
                 refreshDataState()
                 notifyDataChanged()
 
@@ -952,7 +948,7 @@
                 .transition(.opacity.combined(with: .move(edge: .bottom)))
             }
         }
-        .frame(width: settingsWindowWidth, height: 460)
+        .frame(width: settingsWindowWidth, height: 480)
         .onAppear {
             syncSelectedLanguage()
             showPendingHotkeyWarningIfNeeded()

--
Gitblit v1.9.3