message: Fix Blur text in non-retina screen (mac)
diff: @@ -134,6 +134,9 @@ final class AutoCompleteView: NSView {
  if height > 0 {
  tableViewHeight.constant = height
  }
  +
  + // Hack to workaround the blur text
  + fixBlurTextOnNonRetinaScreen()
  }
  func setCreateButtonSectionHidden(_ isHidden: Bool) {
  @@ -196,4 +199,17 @@ extension AutoCompleteView {
  }
  }
  }
  +
  + private func fixBlurTextOnNonRetinaScreen() {
  + // Ref: https://github.com/toggl-open-source/toggldesktop/issues/3313
  + if #available(OSX 10.12, *) {
  + if let screenScale = NSScreen.main?.backingScaleFactor, screenScale == 1.0 {
  + createNewItemBtn.image = nil
  + createNewItemBtn.imageHugsTitle = false
  + } else {
  + createNewItemBtn.image = NSImage(named: "add-icon")
  + createNewItemBtn.imageHugsTitle = true
  + }
  + }
  + }
  }
  