Skip to content

Commit

Permalink
Remove unused conformation to UIDocumentPickerDelegate
Browse files Browse the repository at this point in the history
  • Loading branch information
vikmeup committed Aug 23, 2018
1 parent 5524d26 commit 39d8b67
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Trust/Wallet/ViewControllers/ImportWalletViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -260,16 +260,6 @@ final class ImportWalletViewController: FormViewController {
}
}

extension ImportWalletViewController: UIDocumentPickerDelegate {
func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentAt url: URL) {
if controller.documentPickerMode == UIDocumentPickerMode.import {
let text = try? String(contentsOfFile: url.path)
keystoreRow?.value = text
keystoreRow?.reload()
}
}
}

extension ImportWalletViewController: QRCodeReaderDelegate {
func readerDidCancel(_ reader: QRCodeReaderViewController!) {
reader.stopScanning()
Expand Down

0 comments on commit 39d8b67

Please sign in to comment.