chore: Update translated status footer style
This commit is contained in:
parent
dc174b4b6d
commit
bfdb2e2de9
|
@ -182,11 +182,17 @@ public final class StatusView: UIView {
|
||||||
activityIndicatorView.stopAnimating()
|
activityIndicatorView.stopAnimating()
|
||||||
return activityIndicatorView
|
return activityIndicatorView
|
||||||
}()
|
}()
|
||||||
private let translatedInfoLabel = UILabel()
|
private let translatedInfoLabel: UILabel = {
|
||||||
|
let label = UILabel()
|
||||||
|
label.font = UIFontMetrics(forTextStyle: .footnote).scaledFont(for: .systemFont(ofSize: 13, weight: .regular))
|
||||||
|
label.textColor = Asset.Colors.Label.secondary.color
|
||||||
|
return label
|
||||||
|
}()
|
||||||
lazy var translatedInfoView: UIView = {
|
lazy var translatedInfoView: UIView = {
|
||||||
let containerView = UIView()
|
let containerView = UIView()
|
||||||
|
|
||||||
let revertButton = UIButton()
|
let revertButton = UIButton()
|
||||||
|
revertButton.titleLabel?.font = UIFontMetrics(forTextStyle: .footnote).scaledFont(for: .systemFont(ofSize: 13, weight: .bold))
|
||||||
revertButton.setTitle("Show Original", for: .normal)
|
revertButton.setTitle("Show Original", for: .normal)
|
||||||
revertButton.setTitleColor(Asset.Colors.brand.color, for: .normal)
|
revertButton.setTitleColor(Asset.Colors.brand.color, for: .normal)
|
||||||
revertButton.addAction(UIAction { [weak self] _ in
|
revertButton.addAction(UIAction { [weak self] _ in
|
||||||
|
|
Loading…
Reference in New Issue