Added dark mode to WellDoneViewController

pull/5267/head
Jerome Chan 2 years ago
parent 3e9d2ec61a
commit 902e941543
  1. 4
      AlphaWallet/Settings/ViewControllers/WellDoneViewController.swift

@ -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([

Loading…
Cancel
Save