From b2fa59b955fd4c97e39123ac77a8c60c37924346 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 17 Oct 2024 20:26:06 -0400 Subject: [PATCH] styling checkbox text --- .../dydxViews/Shared/dydxComponents/dydxCheckboxView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dydx/dydxViews/dydxViews/Shared/dydxComponents/dydxCheckboxView.swift b/dydx/dydxViews/dydxViews/Shared/dydxComponents/dydxCheckboxView.swift index 6e465d6f..eaa82655 100644 --- a/dydx/dydxViews/dydxViews/Shared/dydxComponents/dydxCheckboxView.swift +++ b/dydx/dydxViews/dydxViews/Shared/dydxComponents/dydxCheckboxView.swift @@ -15,14 +15,14 @@ struct dydxCheckboxView: View { init(isChecked: Binding, text: String) { let attributedText = AttributedString(text) - .themeFont(fontSize: .medium) - .themeColor(foreground: .textSecondary) self.init(isChecked: isChecked, attributedText: attributedText) } init(isChecked: Binding, attributedText: AttributedString) { self._isChecked = isChecked self.attributedText = attributedText + .themeFont(fontSize: .medium) + .themeColor(foreground: .textSecondary) } var body: some View {