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 4143253 commit 94c713dCopy full SHA for 94c713d
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