Skip to content

Commit

Permalink
styling checkbox text
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Oct 18, 2024
1 parent 8177ca2 commit b2fa59b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ struct dydxCheckboxView: View {

init(isChecked: Binding<Bool>, text: String) {
let attributedText = AttributedString(text)
.themeFont(fontSize: .medium)
.themeColor(foreground: .textSecondary)
self.init(isChecked: isChecked, attributedText: attributedText)
}

init(isChecked: Binding<Bool>, attributedText: AttributedString) {
self._isChecked = isChecked
self.attributedText = attributedText
.themeFont(fontSize: .medium)
.themeColor(foreground: .textSecondary)
}

var body: some View {
Expand Down

0 comments on commit b2fa59b

Please sign in to comment.