Skip to content

Commit b380b69

Browse files
committed
chore: 🤖 Fix a minor compilation issue
1 parent e519277 commit b380b69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: Sources/FioriThemeManager/72-Fonts/Font+Fiori.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public extension Font {
2222
font = font.italic()
2323
} else if isCondensed {
2424
if #available(iOS 16.0, watchOS 9.0, *) {
25-
font = font.width(.condensed)
25+
font = font.width(Font.Width.condensed)
2626
} else {
2727
font = Font.fioriCondensed(forTextStyle: fioriTextStyle, weight: weight)
2828
}
@@ -50,7 +50,7 @@ public extension Font {
5050
font = font.italic()
5151
} else if isCondensed {
5252
if #available(iOS 16.0, watchOS 9.0, *) {
53-
font = font.width(.condensed)
53+
font = font.width(Font.Width.condensed)
5454
} else {
5555
font = Font.fioriCondensed(fixedSize: fixedSize, weight: weight)
5656
}
@@ -74,7 +74,7 @@ public extension Font {
7474
} else {
7575
font = Font.system(fioriTextStyle.textStyle).weight(weight)
7676
if #available(iOS 16.0, watchOS 9.0, *) {
77-
font = font.width(.condensed)
77+
font = font.width(Font.Width.condensed)
7878
}
7979
}
8080

@@ -97,7 +97,7 @@ public extension Font {
9797
} else {
9898
font = Font.system(size: fixedSize).weight(weight)
9999
if #available(iOS 16.0, watchOS 9.0, *) {
100-
font = font.width(.condensed)
100+
font = font.width(Font.Width.condensed)
101101
}
102102
}
103103

0 commit comments

Comments
 (0)