Add buttons in the detail password table

- An icon to show/hide passwords
- An icon to refresh HOTP passwords
This commit is contained in:
Yishi Lin 2017-03-31 03:08:20 +08:00
parent abce9d7be5
commit abb04432fb
8 changed files with 111 additions and 3 deletions

View file

@ -21,15 +21,17 @@ class Globals {
static let repositoryPath = "\(libraryPath)/password-store"
static var passcodeConfiguration = PasscodeLockConfiguration()
static let red = UIColor(red:1.00, green:0.23, blue:0.19, alpha:1.0)
static let blue = UIColor(red:0.00, green:0.48, blue:1.00, alpha:1.0)
static let passwordDefaultLength = ["Random": (min: 6, max: 24, def: 16),
"Apple": (min: 15, max: 15, def: 15)]
static let passwordDots = "••••••••••••"
static let passwordFonts = "Menlo"
// UI related
static let red = UIColor(red:1.00, green:0.23, blue:0.19, alpha:1.0)
static let blue = UIColor(red:0.00, green:0.48, blue:1.00, alpha:1.0)
static let tableCellButtonSize = CGFloat(20.0)
private init() { }
}