We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e82f24 commit 6a9faabCopy full SHA for 6a9faab
Sources/SwiftRichString/Attributes/FontConvertible.swift
@@ -62,9 +62,9 @@ extension Font: FontConvertible {
62
#elseif os(watchOS)
63
return Font(name: self.fontName, size: (size ?? WATCHOS_SYSTEMFONT_SIZE))!
64
#elseif os(macOS)
65
- return Font(descriptor: self.fontDescriptor, size: (size ?? Font.systemFontSize))!
66
- #else
67
- return Font(descriptor: self.fontDescriptor, size: (size ?? Font.systemFontSize))
+ return Font(descriptor: self.fontDescriptor, size: (size ?? Font.systemFontSize))!
+ #else
+ return Font(descriptor: self.fontDescriptor, size: (size ?? Font.systemFontSize))
68
#endif
69
}
70
0 commit comments