polish code
This commit is contained in:
parent
c76f1c24b0
commit
95de38988b
2 changed files with 4 additions and 4 deletions
|
|
@ -42,9 +42,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
|||
tableView.register(UINib(nibName: "LabelTableViewCell", bundle: nil), forCellReuseIdentifier: "labelCell")
|
||||
tableView.register(UINib(nibName: "PasswordDetailTitleTableViewCell", bundle: nil), forCellReuseIdentifier: "passwordDetailTitleTableViewCell")
|
||||
|
||||
let passwordCategoryArray = passwordCategoryEntities?.map({ (value: PasswordCategoryEntity) -> String in
|
||||
value.category!
|
||||
})
|
||||
let passwordCategoryArray = passwordCategoryEntities?.map { $0.category! }
|
||||
passwordCategoryText = (passwordCategoryArray?.joined(separator: " > "))!
|
||||
|
||||
let tapGesture = UITapGestureRecognizer(target: self, action: #selector(PasswordDetailTableViewController.tapMenu(recognizer:)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue