show unsynced symbol in the name of password in password detail page
This commit is contained in:
parent
8396b57a72
commit
ceb52a5b33
1 changed files with 5 additions and 1 deletions
|
|
@ -224,7 +224,11 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
|||
if sectionIndex == 0 && rowIndex == 0 {
|
||||
let cell = tableView.dequeueReusableCell(withIdentifier: "passwordDetailTitleTableViewCell", for: indexPath) as! PasswordDetailTitleTableViewCell
|
||||
cell.passwordImageImageView.image = passwordImage ?? #imageLiteral(resourceName: "PasswordImagePlaceHolder")
|
||||
cell.nameLabel.text = passwordEntity?.name
|
||||
var passwordName = passwordEntity!.name!
|
||||
if passwordEntity!.synced == false {
|
||||
passwordName = "\(passwordName) ↻"
|
||||
}
|
||||
cell.nameLabel.text = passwordName
|
||||
cell.categoryLabel.text = passwordCategoryText
|
||||
return cell
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue