//
//  RawPasswordViewController.swift
//  pass
//
//  Created by Mingshen Sun on 31/3/2017.
//  Copyright © 2017 Bob Sun. All rights reserved.
//

import UIKit
import passKit

class RawPasswordViewController: UIViewController {

    @IBOutlet weak var rawPasswordTextView: UITextView!
    var password: Password?
    
    override func viewDidLoad() {
        super.viewDidLoad()
        navigationItem.title = password?.name
        rawPasswordTextView.textContainer.lineFragmentPadding = 0
        rawPasswordTextView.textContainerInset = .zero
        rawPasswordTextView.text = password?.plainText
    }
}
