From 0f8a564bc54aced39bc170b7323d59a71c3406c4 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Thu, 12 Jan 2023 15:58:27 -0600 Subject: [PATCH] added defaults Signed-off-by: Matt Bruce --- VDS/Components/Tilet/TiletSubTitleModel.swift | 4 ++-- VDS/Components/Tilet/TiletTitleModel.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VDS/Components/Tilet/TiletSubTitleModel.swift b/VDS/Components/Tilet/TiletSubTitleModel.swift index a2472d8b..c2a2ca93 100644 --- a/VDS/Components/Tilet/TiletSubTitleModel.swift +++ b/VDS/Components/Tilet/TiletSubTitleModel.swift @@ -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, diff --git a/VDS/Components/Tilet/TiletTitleModel.swift b/VDS/Components/Tilet/TiletTitleModel.swift index 349bc788..fdf52187 100644 --- a/VDS/Components/Tilet/TiletTitleModel.swift +++ b/VDS/Components/Tilet/TiletTitleModel.swift @@ -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) {