Browse Source

Update ParentPanelController.swift

pull/113/head
Abhishek 3 years ago
parent
commit
c2e7bb146a
  1. 4
      Clocker/Panel/ParentPanelController.swift

4
Clocker/Panel/ParentPanelController.swift

@ -143,7 +143,9 @@ class ParentPanelController: NSWindowController {
futureSliderRangeObserver = UserDefaults.standard.observe(\.sliderDayRange, options: [.new]) { _, change in
if change.newValue != nil {
self.adjustFutureSliderBasedOnPreferences()
self.modernSlider.reloadData()
if self.modernSlider != nil {
self.modernSlider.reloadData()
}
}
}
}

Loading…
Cancel
Save