|
|
@ -97,7 +97,6 @@ class UpcomingEventStatusItemView: NSView { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
extension UpcomingEventStatusItemView: StatusItemViewConforming { |
|
|
|
extension UpcomingEventStatusItemView: StatusItemViewConforming { |
|
|
|
|
|
|
|
|
|
|
|
func statusItemViewSetNeedsDisplay() { |
|
|
|
func statusItemViewSetNeedsDisplay() { |
|
|
|
nextEventField.attributedStringValue = NSAttributedString(string: dataObject.event.title, attributes: textFontAttributes) |
|
|
|
nextEventField.attributedStringValue = NSAttributedString(string: dataObject.event.title, attributes: textFontAttributes) |
|
|
|
etaField.attributedStringValue = NSAttributedString(string: dataObject.metadataForMeeting(), attributes: timeAttributes) |
|
|
|
etaField.attributedStringValue = NSAttributedString(string: dataObject.metadataForMeeting(), attributes: timeAttributes) |
|
|
@ -106,5 +105,4 @@ extension UpcomingEventStatusItemView: StatusItemViewConforming { |
|
|
|
func statusItemViewIdentifier() -> String { |
|
|
|
func statusItemViewIdentifier() -> String { |
|
|
|
return "upcoming_event_view" |
|
|
|
return "upcoming_event_view" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|