Skip to content

Commit 1a34c2d

Browse files
committed
#47 Fixed fontData copying
1 parent 13d217e commit 1a34c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftRichString/Attributes/FontData.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ internal let WATCHOS_SYSTEMFONT_SIZE: CGFloat = 12.0
2121
/// User don't interact with this object directly but via `Style`'s properties.
2222
/// Using the `attributes` property this object return a valid instance of the attributes to describe
2323
/// required behaviour.
24-
public class FontData {
24+
public struct FontData {
2525

2626
private static var DefaultFont = Font.systemFont(ofSize: 12.0)
2727

0 commit comments

Comments
 (0)