Browse Source

Address crash.

pull/92/head
Abhishek 4 years ago
parent
commit
743fc7f430
  1. 11
      Clocker/Panel/ParentPanelController.swift

11
Clocker/Panel/ParentPanelController.swift

@ -168,9 +168,9 @@ class ParentPanelController: NSWindowController {
object: nil) object: nil)
#if DEBUG #if DEBUG
if #available(OSX 11.0, *) { // if #available(OSX 11.0, *) {
mainTableView.style = .fullWidth // mainTableView.style = .fullWidth
} // }
#endif #endif
if modernSlider != nil { if modernSlider != nil {
@ -322,7 +322,10 @@ class ParentPanelController: NSWindowController {
sharingButton.image = sharedThemer.sharingImage() sharingButton.image = sharedThemer.sharingImage()
sliderDatePicker.textColor = sharedThemer.mainTextColor() sliderDatePicker.textColor = sharedThemer.mainTextColor()
roundedDateView.layer?.backgroundColor = Themer.shared().textBackgroundColor().cgColor
if roundedDateView != nil {
roundedDateView.layer?.backgroundColor = Themer.shared().textBackgroundColor().cgColor
}
updateReviewViewFontColor() updateReviewViewFontColor()
} }

Loading…
Cancel
Save