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
|
|
@ -82,6 +82,8 @@ class PasswordEditorTableViewController: UITableViewController {
|
|||
|
||||
passwordFlavorCell = UITableViewCell(style: .default, reuseIdentifier: "default")
|
||||
passwordFlavorCell?.textLabel?.text = "PasswordGeneratorFlavor".localize()
|
||||
passwordFlavorCell?.textLabel?.font = .preferredFont(forTextStyle: .footnote)
|
||||
passwordFlavorCell!.layoutMargins.left = passKit.Globals.passwordGeneratorLeftLayoutMargin
|
||||
passwordFlavorCell?.selectionStyle = .none
|
||||
|
||||
let passwordFlavorSelector = UISegmentedControl(items: PasswordGeneratorFlavor.allCases.map(\.localized))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue