From 31d9841c06521ccb1ed65070ce83d5188a5a1f89 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Sun, 23 Apr 2023 12:00:57 -0400 Subject: [PATCH] Proper cast. --- Clocker/Preferences/Menu Bar/StatusItemView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clocker/Preferences/Menu Bar/StatusItemView.swift b/Clocker/Preferences/Menu Bar/StatusItemView.swift index c130f53..4c687bb 100644 --- a/Clocker/Preferences/Menu Bar/StatusItemView.swift +++ b/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 }