From 5912f1a8529bbc400b22e7c390a5cc9c09dd8a27 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 07 Jun 2026 01:14:09 +0800
Subject: [PATCH] Record 7.8.15 freeze manifest

---
 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