aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Theme/NSFont+theme.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2025-12-15 00:11:21 +0100
committerRuben Beltran del Rio <jj@r.bdr.sh>2025-12-15 00:19:39 +0100
commitfa681bfcf5cbfcc711fb0ab10f3fd74ac83bf18c (patch)
tree2dce2e95bab08f773246b450ac50227f8e8f57da /Map/Presentation/Theme/NSFont+theme.swift
parent0d5e6636405dbe332c33c0fb82c7ccccb20f96cb (diff)
Apply formatting rules
Diffstat (limited to 'Map/Presentation/Theme/NSFont+theme.swift')
-rw-r--r--Map/Presentation/Theme/NSFont+theme.swift3
1 files changed, 1 insertions, 2 deletions
diff --git a/Map/Presentation/Theme/NSFont+theme.swift b/Map/Presentation/Theme/NSFont+theme.swift
index 712cc1d..77927a6 100644
--- a/Map/Presentation/Theme/NSFont+theme.swift
+++ b/Map/Presentation/Theme/NSFont+theme.swift
@@ -31,8 +31,7 @@ extension NSFont {
@MainActor static var regular: NSFont {
if UserDefaults.standard.bool(forKey: "useCustomEditorFont"),
let customEditorFontName = UserDefaults.standard.string(forKey: "customEditorFontName"),
- !customEditorFontName.isEmpty
- {
+ !customEditorFontName.isEmpty {
return NSFontManager.shared.font(
withFamily: customEditorFontName,
traits: NSFontTraitMask(),