Skip to content

Commit 9739bbf

Browse files
committed
revert: to checkbox index
1 parent 7503d1e commit 9739bbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macOS/enableDoNotDisturb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const enableFocusModeVenturaAppleScript = (
4646
const center = locale.trim() === "en_GB" ? "Centre" : "Center";
4747
// Tahoe moved the position of the DND checkbox in Control Center
4848
const position =
49-
platformMajor < 25 ? "checkbox 2 of group 1" : "UI element 11 of group 1";
49+
platformMajor < 25 ? "checkbox 2 of group 1" : "checkbox 7 of group 1";
5050

5151
return `-- Startup delay to reduce chance of "Application isn't running (-600)" errors
5252
delay 1

0 commit comments

Comments
 (0)