added defaults

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-01-12 15:58:27 -06:00
parent ec9f853b3d
commit 0f8a564bc5
2 changed files with 3 additions and 3 deletions

View File

@ -20,8 +20,8 @@ public struct TiletSubTitleModel: Codable {
}
public var text: String = ""
public var typographicalStyle: SubTitleTypographicalStyle
public var textColor: Use
public var typographicalStyle: SubTitleTypographicalStyle = .BodySmall
public var textColor: Use = .primary
public init(text: String,
textColor: Use = .primary,

View File

@ -22,7 +22,7 @@ public struct TiletTitleModel: Codable {
}
public var text: String = ""
public var typographicalStyle: TitleTypographicalStyle
public var typographicalStyle: TitleTypographicalStyle = .BoldTitleSmall
public init(text: String,
typographicalStyle: TitleTypographicalStyle = .BoldTitleSmall) {