From 590a821363411b979514db0d07607842e041f753 Mon Sep 17 00:00:00 2001 From: Axel Courty Date: Sun, 17 May 2026 19:32:37 +0200 Subject: [PATCH] Fix non-existing SF Symbol 'moon.slash.fill' in Focus peek MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le symbole `moon.slash.fill` n'existe pas dans SF Symbols → produit un glyphe vide à l'affichage du peek de désactivation Focus. Logs runtime : No symbol named 'moon.slash.fill' found in system symbol set Fix : utiliser `bell.fill` qui existe dans toutes les versions et signale intuitivement le retour des notifications quand Focus se désactive. Co-Authored-By: Claude Opus 4.7 --- NotchIA/managers/FocusModeManager.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NotchIA/managers/FocusModeManager.swift b/NotchIA/managers/FocusModeManager.swift index 517593a..155243a 100644 --- a/NotchIA/managers/FocusModeManager.swift +++ b/NotchIA/managers/FocusModeManager.swift @@ -151,7 +151,11 @@ final class FocusModeManager: ObservableObject { type: .focus, duration: 2.5, value: active ? 1.0 : 0.0, - icon: active ? self.focusIcon : "moon.slash.fill" + // `bell.fill` (existe dans toutes les versions SF Symbols) + // signale intuitivement le retour des notifications à la + // désactivation. `moon.slash.fill` n'existe PAS, ne pas + // l'utiliser — produit un symbole vide à l'affichage. + icon: active ? self.focusIcon : "bell.fill" ) } .store(in: &cancellables)