Browse Source

Proper cast.

master
Abhishek Banthia 2 years ago
parent
commit
31d9841c06
  1. 2
      Clocker/Preferences/Menu Bar/StatusItemView.swift

2
Clocker/Preferences/Menu Bar/StatusItemView.swift

@ -17,7 +17,7 @@ var defaultParagraphStyle: NSMutableParagraphStyle {
// Better readability for p,q,y,g in the status bar.
let userPreferredLanguage = Locale.preferredLanguages.first ?? "en-US"
let lineHeight = userPreferredLanguage.contains("en") ? 0.92 : 1
paragraphStyle.lineHeightMultiple = lineHeight
paragraphStyle.lineHeightMultiple = CGFloat(lineHeight)
return paragraphStyle
}

Loading…
Cancel
Save