From 1ec08b1dedff313e385767edb0c2b815b6dd56f3 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sat, 22 Aug 2026 22:08:47 +0800
Subject: [PATCH] fix: improve app note placeholder contrast
---
C1.source/Apptag/ContentView.swift | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/C1.source/Apptag/ContentView.swift b/C1.source/Apptag/ContentView.swift
index e3a6fe9..b1ca582 100644
--- a/C1.source/Apptag/ContentView.swift
+++ b/C1.source/Apptag/ContentView.swift
@@ -583,6 +583,10 @@
}
var body: some View {
+ contentWithStateObservers
+ }
+
+ private var contentWithNotificationObservers: some View {
contentStack
.onAppear(perform: handleContentAppear)
.onReceive(NotificationCenter.default.publisher(for: .tagLauncherOverlayDidShow), perform: handleOverlayDidShow)
@@ -593,6 +597,10 @@
.onReceive(NotificationCenter.default.publisher(for: NSApplication.didBecomeActiveNotification), perform: handleApplicationDidBecomeActive)
.onReceive(NotificationCenter.default.publisher(for: .tagLauncherDataDidChange), perform: handleDataDidChange)
.onReceive(NotificationCenter.default.publisher(for: .appLanguageDidChange), perform: handleAppLanguageDidChange)
+ }
+
+ private var contentWithStateObservers: some View {
+ contentWithNotificationObservers
.onChange(of: editPhase) { _, newPhase in
let active = newPhase != .none
dismissAppBubble()
--
Gitblit v1.9.3