From 31fae5c21c69f27174e423a217600db490db52eb Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 16 Sep 2022 11:09:28 -0500 Subject: [PATCH] using property instead of model Signed-off-by: Matt Bruce --- VDSSample/ViewControllers/LabelViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDSSample/ViewControllers/LabelViewController.swift b/VDSSample/ViewControllers/LabelViewController.swift index 2acbe1a..0dab835 100644 --- a/VDSSample/ViewControllers/LabelViewController.swift +++ b/VDSSample/ViewControllers/LabelViewController.swift @@ -158,7 +158,7 @@ class LabelViewController: ModelScrollViewController { func updateLabelStyle(){ if let style = fontCategory.style(for: textSize, isBold: isBold) { - label.model.typograpicalStyle = style + label.typograpicalStyle = style } }