From be83948fab7b643634ede2403abdca27e6b45f29 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Thu, 04 Jun 2026 01:09:14 +0800
Subject: [PATCH] Fix quick search early mouse dismiss

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

diff --git a/Apptag/AppLibraryController.swift b/Apptag/AppLibraryController.swift
index 090a31b..aa2d4db 100644
--- a/Apptag/AppLibraryController.swift
+++ b/Apptag/AppLibraryController.swift
@@ -23,8 +23,8 @@
 }
 
 enum AppLibraryController {
-    static func refresh() -> AppLibraryRefreshResult {
-        let scannedApps = AppIndexer.scan()
+    static func refresh(useCache: Bool = true) -> AppLibraryRefreshResult {
+        let scannedApps = AppIndexer.scan(useCache: useCache)
         let reconciledStore = TagEditor.reconcileScannedApps(scannedApps)
         let smartStartResult = SmartStartService.runIfNeeded(
             apps: scannedApps,

--
Gitblit v1.9.3