|
|
@ -22,7 +22,7 @@ class WellDoneViewController: UIViewController { |
|
|
|
descriptionLabel.translatesAutoresizingMaskIntoConstraints = false |
|
|
|
descriptionLabel.translatesAutoresizingMaskIntoConstraints = false |
|
|
|
descriptionLabel.text = R.string.localizable.welldoneDescriptionLabelText() |
|
|
|
descriptionLabel.text = R.string.localizable.welldoneDescriptionLabelText() |
|
|
|
descriptionLabel.font = Label.Font.text |
|
|
|
descriptionLabel.font = Label.Font.text |
|
|
|
descriptionLabel.textColor = Colors.darkBlue |
|
|
|
descriptionLabel.textColor = Configuration.Color.Semantic.defaultForegroundText |
|
|
|
descriptionLabel.numberOfLines = 0 |
|
|
|
descriptionLabel.numberOfLines = 0 |
|
|
|
descriptionLabel.textAlignment = .center |
|
|
|
descriptionLabel.textAlignment = .center |
|
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ class WellDoneViewController: UIViewController { |
|
|
|
].asStackView(axis: .vertical, spacing: 10, alignment: .center) |
|
|
|
].asStackView(axis: .vertical, spacing: 10, alignment: .center) |
|
|
|
stackView.translatesAutoresizingMaskIntoConstraints = false |
|
|
|
stackView.translatesAutoresizingMaskIntoConstraints = false |
|
|
|
|
|
|
|
|
|
|
|
view.backgroundColor = .white |
|
|
|
view.backgroundColor = Configuration.Color.Semantic.dialogBackground |
|
|
|
view.addSubview(stackView) |
|
|
|
view.addSubview(stackView) |
|
|
|
|
|
|
|
|
|
|
|
NSLayoutConstraint.activate([ |
|
|
|
NSLayoutConstraint.activate([ |
|
|
|