Skip to content

Commit

Permalink
fix font weight and text
Browse files Browse the repository at this point in the history
  • Loading branch information
mojganii authored and buggmagnet committed Nov 10, 2023
1 parent 68ec03b commit 0f048c7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,19 @@ class RevokedDeviceViewController: UIViewController, RootContainment {
value: "Device is inactive",
comment: ""
)
titleLabel.font = UIFont.systemFont(ofSize: 32)
return titleLabel
}()

private lazy var bodyLabel: UILabel = {
let bodyLabel = UILabel()
bodyLabel.translatesAutoresizingMaskIntoConstraints = false
bodyLabel.font = UIFont.systemFont(ofSize: 17)
bodyLabel.font = UIFont.systemFont(ofSize: 17, weight: .semibold)
bodyLabel.numberOfLines = 0
bodyLabel.textColor = .white
bodyLabel.text = NSLocalizedString(
"DESCRIPTION_LABEL",
tableName: "RevokedDevice",
value: "You have revoked this device. To connect again, you will need to log back in.",
value: "You have removed this device. To connect again, you will need to log back in.",
comment: ""
)
return bodyLabel
Expand Down

0 comments on commit 0f048c7

Please sign in to comment.