Unify cell style for the password generator
This commit is contained in:
parent
6c790f8e07
commit
788adee1a7
10 changed files with 72 additions and 34 deletions
|
|
@ -28,6 +28,10 @@ class SwitchTableViewCell: UITableViewCell {
|
|||
return self
|
||||
}
|
||||
|
||||
override func layoutMarginsDidChange() {
|
||||
layoutMargins.left = passKit.Globals.passwordGeneratorLeftLayoutMargin
|
||||
}
|
||||
|
||||
func set(initialValue: Bool) -> SwitchTableViewCell {
|
||||
controlSwitch.isOn = initialValue
|
||||
return self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue