mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 09:28:38 +00:00
change upd time for nightshift
This commit is contained in:
parent
9e0f103ba6
commit
534dbc2284
@ -33,7 +33,7 @@ class NightShiftBarItem: CustomButtonTouchBarItem {
|
|||||||
|
|
||||||
self.tapClosure = { [weak self] in self?.nightShiftAction() }
|
self.tapClosure = { [weak self] in self?.nightShiftAction() }
|
||||||
|
|
||||||
timer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(refresh), userInfo: nil, repeats: true)
|
timer = Timer.scheduledTimer(timeInterval: 2, target: self, selector: #selector(refresh), userInfo: nil, repeats: true)
|
||||||
|
|
||||||
self.refresh()
|
self.refresh()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user