mirror of
https://github.com/lil-org/tokenary.git
synced 2024-12-24 20:41:35 +03:00
Better import animation
This commit is contained in:
parent
bd37beab72
commit
6c7446dfd2
@ -21,10 +21,14 @@ class ImportViewController: UIViewController {
|
||||
super.viewWillAppear(animated)
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
self?.navigationController?.navigationBar.sizeToFit()
|
||||
self?.textView.becomeFirstResponder()
|
||||
}
|
||||
}
|
||||
|
||||
override func viewDidAppear(_ animated: Bool) {
|
||||
super.viewDidAppear(animated)
|
||||
textView.becomeFirstResponder()
|
||||
}
|
||||
|
||||
@IBAction func pasteButtonTapped(_ sender: Any) {
|
||||
if let text = UIPasteboard.general.string {
|
||||
textView.text = text
|
||||
|
Loading…
Reference in New Issue
Block a user