We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37bb00d commit d40ace8Copy full SHA for d40ace8
Sources/SwiftCrossUI/Values/Font.swift
@@ -93,7 +93,7 @@ public struct Font: Hashable, Sendable {
93
}
94
95
/// Selects whether or not to use the font's monospaced variant.
96
- public func monospaced(_ monospaced: Bool) -> Font {
+ public func monospaced(_ monospaced: Bool = true) -> Font {
97
var font = self
98
if monospaced {
99
font.overlay.design = .monospaced
0 commit comments