Fixed the width and color

This commit is contained in:
Hariharan Mudaliar 2025-11-10 02:19:31 +05:30
commit 39c135cfd7
6 changed files with 217 additions and 73 deletions

View file

@ -175,6 +175,7 @@ struct GeneralSettings: View {
@Default(.showRecordingIndicator) var showRecordingIndicator
@Default(.enableDoNotDisturbDetection) var enableDoNotDisturbDetection
@Default(.showDoNotDisturbIndicator) var showDoNotDisturbIndicator
@Default(.showDoNotDisturbLabel) var showDoNotDisturbLabel
@Default(.enableMinimalisticUI) var enableMinimalisticUI
@Default(.lockScreenGlassStyle) var lockScreenGlassStyle
@Default(.lockScreenShowAppIcon) var lockScreenShowAppIcon
@ -274,6 +275,9 @@ struct GeneralSettings: View {
Defaults.Toggle("Show Focus Indicator", key: .showDoNotDisturbIndicator)
.disabled(!enableDoNotDisturbDetection)
Defaults.Toggle("Show Focus Label", key: .showDoNotDisturbLabel)
.disabled(!enableDoNotDisturbDetection)
if doNotDisturbManager.isMonitoring {
HStack {
Text("Focus Status")