Skip to content

Commit

Permalink
Proper cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
n0shake committed Apr 23, 2023
1 parent e59b2e1 commit 31d9841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Clocker/Preferences/Menu Bar/StatusItemView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 31d9841

Please sign in to comment.