From ffc50a6b927afd16601e0bc01a53d76ae6069ba3 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Wed, 03 Jun 2026 21:22:41 +0800
Subject: [PATCH] Refresh app index for quick search
---
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