message: Change menu title start or create (mac)
diff: @@ -22,9 +22,10 @@ final class TimelineTimeEntryMenu: NSMenu {
  // MARK: Variables
  weak var menuDelegate: TimelineTimeEntryMenuDelegate?
  - var timeEntry: TimelineTimeEntry?
  + var timeEntry: TimelineTimeEntry? { didSet { updateMenuTitle() }}
  private var conflictChangeFirstMenu: NSMenuItem!
  private var conflictChangeLastMenu: NSMenuItem!
  + private var startNewMenu: NSMenuItem!
  var isOverlapMenu = false {
  didSet {
  conflictChangeFirstMenu.isEnabled = isOverlapMenu
  @@ -55,8 +56,8 @@ extension TimelineTimeEntryMenu {
  private func initSubmenu() {
  let continueMenu = NSMenuItem(title: "Continue this entry", action: #selector(self.continueMenuOnTap), keyEquivalent: "")
  - let startNewMenu = NSMenuItem(title: "Start entry from the end of this entry", action: #selector(self.startEntryOnTap), keyEquivalent: "")
  let deleteMenu = NSMenuItem(title: "Delete", action: #selector(self.deleteEntryOnTap), keyEquivalent: "")
  + startNewMenu = NSMenuItem(title: "Start entry from the end of this entry", action: #selector(self.startEntryOnTap), keyEquivalent: "")
  conflictChangeFirstMenu = NSMenuItem(title: "Change first entry stop time", action: #selector(self.changeFirstEntryStopTimeOnTap), keyEquivalent: "")
  conflictChangeLastMenu = NSMenuItem(title: "Change last entry start time", action: #selector(self.changeLastEntryStartTimeOnTap), keyEquivalent: "")
  @@ -73,6 +74,11 @@ extension TimelineTimeEntryMenu {
  }
  }
  + private func updateMenuTitle() {
  + guard let isToday = timeEntry?.isToday() else { return }
  + startNewMenu.title = isToday ? "Start entry from the end of this entry" : "Create entry from the end of this entry"
  + }
  +
  @objc private func continueMenuOnTap() {
  guard let timeEntry = timeEntry else { return }
  menuDelegate?.timelineMenuContinue(timeEntry)
  