diff options
Diffstat (limited to 'Map/Presentation/Theme/NSFont+theme.swift')
| -rw-r--r-- | Map/Presentation/Theme/NSFont+theme.swift | 3 |
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(), |