diff --git a/DynamicIsland/Localizable.xcstrings b/DynamicIsland/Localizable.xcstrings index 8a3fe61..07f523e 100644 --- a/DynamicIsland/Localizable.xcstrings +++ b/DynamicIsland/Localizable.xcstrings @@ -12794,6 +12794,10 @@ } } }, + "Mirror macOS Clock timers" : { + "comment" : "A toggle that enables or disables the app's ability to mirror macOS Clock timers.", + "isCommentAutoGenerated" : true + }, "Mirror shape" : { "localizations" : { "ar" : { diff --git a/DynamicIsland/components/Settings/SettingsView.swift b/DynamicIsland/components/Settings/SettingsView.swift index 3cbb986..7e3aa50 100644 --- a/DynamicIsland/components/Settings/SettingsView.swift +++ b/DynamicIsland/components/Settings/SettingsView.swift @@ -3325,6 +3325,18 @@ func customBadge(text: String) -> some View { .clipShape(.capsule) } +func alphaBadge() -> some View { + Text("ALPHA") + .font(.system(size: 10, weight: .bold)) + .foregroundStyle(Color.white) + .padding(.horizontal, 6) + .padding(.vertical, 2) + .background( + Capsule() + .fill(Color.orange.opacity(0.9)) + ) +} + func warningBadge(_ text: String, _ description: String) -> some View { Section { HStack(spacing: 12) { @@ -3389,7 +3401,12 @@ struct TimerSettings: View { if enableTimerFeature { Toggle("Enable timer live activity", isOn: $coordinator.timerLiveActivityEnabled) .animation(.easeInOut, value: coordinator.timerLiveActivityEnabled) - Defaults.Toggle("Mirror macOS Clock timers", key: .mirrorSystemTimer) + Defaults.Toggle(key: .mirrorSystemTimer) { + HStack(spacing: 8) { + Text("Mirror macOS Clock timers") + alphaBadge() + } + } .help("Shows the system Clock timer in the notch when available. Requires Accessibility permission to read the status item.") .settingsHighlight(id: highlightID("Mirror macOS Clock timers"))