Tunnel detail: Copying the public key
This commit is contained in:
parent
90eac14b9a
commit
6b969b7bdf
|
@ -174,7 +174,7 @@ extension TunnelDetailTableViewController {
|
||||||
let cell = tableView.dequeueReusableCell(withIdentifier: TunnelDetailTableViewButtonCell.id, for: indexPath) as! TunnelDetailTableViewButtonCell
|
let cell = tableView.dequeueReusableCell(withIdentifier: TunnelDetailTableViewButtonCell.id, for: indexPath) as! TunnelDetailTableViewButtonCell
|
||||||
cell.buttonText = field.rawValue
|
cell.buttonText = field.rawValue
|
||||||
cell.onTapped = {
|
cell.onTapped = {
|
||||||
print("Copying public key is unimplemented") // TODO
|
UIPasteboard.general.string = interfaceData[.publicKey]
|
||||||
}
|
}
|
||||||
return cell
|
return cell
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue