From 6dea81ebd24bcdb3c62ff8d2251a2670cb8b64c5 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 07 Jun 2026 01:13:34 +0800
Subject: [PATCH] Freeze TagLauncher 7.8.15 source recovery
---
Apptag/ContentView.swift | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Apptag/ContentView.swift b/Apptag/ContentView.swift
index 59964a3..b9cd83f 100644
--- a/Apptag/ContentView.swift
+++ b/Apptag/ContentView.swift
@@ -1814,12 +1814,18 @@
}
private func refreshAppsForOverlay() {
- guard AppIndexer.shouldRefreshForSearchPathChanges() else { return }
+ // Each overlay show creates a fresh ContentView with empty `allApps`. The indexer
+ // cache may still be warm from a prior overlay/settings scan, so path-signature
+ // alone must not skip the first hydrate or the grid spinner never clears.
+ guard allApps.isEmpty || AppIndexer.shouldRefreshForSearchPathChanges() else { return }
refreshApps()
}
private func refreshAppsForQuickSearch() {
- guard AppIndexer.shouldRefreshForSearchPathChanges() else { return }
+ guard allApps.isEmpty
+ || quickSearchDocuments.isEmpty
+ || AppIndexer.shouldRefreshForSearchPathChanges()
+ else { return }
refreshApps()
}
--
Gitblit v1.9.3