Tweak password font
This commit is contained in:
parent
6ea47766bc
commit
3605e59c30
4 changed files with 8 additions and 5 deletions
|
|
@ -25,7 +25,7 @@ class FillPasswordTableViewCell: ContentTableViewCell {
|
|||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
// Initialization code
|
||||
contentTextField.font = UIFont(name: Globals.passwordFonts, size: (contentTextField.font?.pointSize)!)
|
||||
contentTextField.font = Globals.passwordFont
|
||||
|
||||
// Force aspect ratio of button images
|
||||
settingButton.imageView?.contentMode = .scaleAspectFit
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class LabelTableViewCell: UITableViewCell {
|
|||
contentLabel.text = Globals.passwordDots
|
||||
}
|
||||
}
|
||||
contentLabel.font = UIFont(name: Globals.passwordFonts, size: contentLabel.font.pointSize)
|
||||
contentLabel.font = Globals.passwordFont
|
||||
case "hmac-based":
|
||||
type = .HOTP
|
||||
if isReveal {
|
||||
|
|
@ -59,7 +59,7 @@ class LabelTableViewCell: UITableViewCell {
|
|||
} else {
|
||||
contentLabel.text = Globals.oneTimePasswordDots
|
||||
}
|
||||
contentLabel.font = UIFont(name: Globals.passwordFonts, size: contentLabel.font.pointSize)
|
||||
contentLabel.font = Globals.passwordFont
|
||||
case "url":
|
||||
type = .URL
|
||||
contentLabel.text = content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue