Browse Source

Formatting.

pull/113/head
Abhishek 3 years ago
parent
commit
ad09ddac3f
  1. 2
      Clocker/Preferences/Menu Bar/StatusItemView.swift
  2. 2
      Clocker/Preferences/Menu Bar/UpcomingEventStatusItemView.swift

2
Clocker/Preferences/Menu Bar/StatusItemView.swift

@ -129,7 +129,6 @@ class StatusItemView: NSView {
}
extension StatusItemView: StatusItemViewConforming {
func statusItemViewSetNeedsDisplay() {
locationView.attributedStringValue = NSAttributedString(string: operationsObject.compactMenuTitle(), attributes: textFontAttributes)
timeView.attributedStringValue = NSAttributedString(string: operationsObject.compactMenuSubtitle(), attributes: timeAttributes)
@ -138,5 +137,4 @@ extension StatusItemView: StatusItemViewConforming {
func statusItemViewIdentifier() -> String {
return "location_view"
}
}

2
Clocker/Preferences/Menu Bar/UpcomingEventStatusItemView.swift

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

Loading…
Cancel
Save