diff --git a/WordPressAuthenticator.podspec b/WordPressAuthenticator.podspec index cdf677963..65d05a4d7 100644 --- a/WordPressAuthenticator.podspec +++ b/WordPressAuthenticator.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WordPressAuthenticator" - s.version = "1.19.0-beta.4" + s.version = "1.19.0-beta.5" s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps." s.description = <<-DESC diff --git a/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.swift b/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.swift index 363637fdf..b6ee1b080 100644 --- a/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.swift +++ b/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.swift @@ -18,6 +18,12 @@ class TextLinkButtonTableViewCell: UITableViewCell { public var actionHandler: (() -> Void)? + override func awakeFromNib() { + super.awakeFromNib() + + button.titleLabel?.adjustsFontForContentSizeCategory = true + } + public func configureButton(text: String?) { button.setTitle(text, for: .normal) @@ -25,8 +31,5 @@ class TextLinkButtonTableViewCell: UITableViewCell { let buttonHighlightColor = WordPressAuthenticator.shared.unifiedStyle?.textButtonHighlightColor ?? WordPressAuthenticator.shared.style.textButtonHighlightColor button.setTitleColor(buttonTitleColor, for: .normal) button.setTitleColor(buttonHighlightColor, for: .highlighted) - - button.titleLabel?.font = UIFont.preferredFont(forTextStyle: .callout) - button.titleLabel?.adjustsFontForContentSizeCategory = true } } diff --git a/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.xib b/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.xib index f3f435c19..666796d9f 100644 --- a/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.xib +++ b/WordPressAuthenticator/Unified Auth/View Related/Reusable Views/TextLinkButtonTableViewCell.xib @@ -17,8 +17,9 @@ -