Skip to content

Commit

Permalink
fix args for parseTextBlockDataToUIFont
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeCla committed Dec 18, 2023
1 parent 4f475c8 commit 6ffb449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Nativebrik/Nativebrik/text.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class TextView: AnimatedUIControl {
} else {
label.textColor = .label
}
label.font = parseTextBlockDataToUIFont(block.data)
label.font = parseTextBlockDataToUIFont(block.data?.size, block.data?.weight, block.data?.design)
let text = compileTemplate(template: block.data?.value ?? "") { placeholder in
return context.getByReferenceKey(key: placeholder)
}
Expand Down

0 comments on commit 6ffb449

Please sign in to comment.