mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-13 17:44:07 +03:00
37 lines
1.0 KiB
Swift
37 lines
1.0 KiB
Swift
// Copyright © 2021 Tokenary. All rights reserved.
|
|
|
|
import UIKit
|
|
|
|
class ImportViewController: UIViewController {
|
|
|
|
@IBOutlet weak var pasteButton: UIButton!
|
|
@IBOutlet weak var okButton: UIButton!
|
|
@IBOutlet weak var textView: UITextView!
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
navigationController?.navigationBar.prefersLargeTitles = true
|
|
navigationItem.largeTitleDisplayMode = .always
|
|
textView.becomeFirstResponder()
|
|
navigationItem.title = Strings.importAccount
|
|
navigationItem.leftBarButtonItem = UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(dismissAnimated))
|
|
|
|
}
|
|
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
super.viewWillAppear(animated)
|
|
DispatchQueue.main.async { [weak self] in
|
|
self?.navigationController?.navigationBar.sizeToFit()
|
|
}
|
|
}
|
|
|
|
@IBAction func pasteButtonTapped(_ sender: Any) {
|
|
|
|
}
|
|
|
|
@IBAction func okButtonTapped(_ sender: Any) {
|
|
|
|
}
|
|
|
|
}
|