You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Brightness Sync/AppDelegate.swift
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
172
172
}
173
173
}
174
174
.switchToLatest()
175
+
.removeDuplicates()
175
176
.multicast(subject:PassthroughSubject())
176
177
177
178
// There is a quirk in CoreDisplay, that causes the builtin display to read a brightness value of 1.0 just after you closed the lid and enter clamshell mode.
@@ -239,12 +240,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
0 commit comments