Commit cf36b57f by Orkhan Alikhanov

Updated components to use global font

parent f0d2b907
......@@ -279,6 +279,7 @@ open class Button: UIButton, Pulseable, PulseableLayer, Themeable {
*/
open func prepare() {
contentScaleFactor = Screen.scale
titleLabel?.font = Theme.font.regular(with: fontSize)
prepareVisualLayer()
preparePulse()
applyCurrentTheme()
......
......@@ -270,6 +270,7 @@ private extension DialogView {
/// Prepares detailsLabel.
func prepareDetailsLabel() {
contentArea.addSubview(detailsLabel)
detailsLabel.font = Theme.font.regular(with: detailsLabel.fontSize)
detailsLabel.numberOfLines = 0
detailsLabel.textColor = Color.darkText.secondary
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment