Support show raw password
This commit is contained in:
parent
990a8f341c
commit
729ad0d10b
5 changed files with 120 additions and 6 deletions
21
pass/Controllers/RawPasswordViewController.swift
Normal file
21
pass/Controllers/RawPasswordViewController.swift
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
//
|
||||
// RawPasswordViewController.swift
|
||||
// pass
|
||||
//
|
||||
// Created by Mingshen Sun on 31/3/2017.
|
||||
// Copyright © 2017 Bob Sun. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
class RawPasswordViewController: UIViewController {
|
||||
|
||||
@IBOutlet weak var rawPasswordTextView: UITextView!
|
||||
var password: Password?
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
navigationItem.title = "Raw"
|
||||
rawPasswordTextView.text = password?.plainText
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue