Pass content of URL field to 'openLink' method

Previously, 'openLink' has chosen the first URL field contained in the
password file. Since the action "Copy & Open" is performed on a specific
field, only its content should be considered.
This commit is contained in:
Danny Moesch 2018-12-07 21:55:30 +01:00 committed by Bob Sun
parent 9b7fc4219e
commit f8f858f15e
2 changed files with 13 additions and 10 deletions

View file

@ -141,7 +141,7 @@ class LabelTableViewCell: UITableViewCell {
@objc func openLink(_ sender: Any?) {
// if isURLCell, passwordTableView should not be nil
delegatePasswordTableView!.openLink()
delegatePasswordTableView!.openLink(to: cellData?.content)
}
@objc func getNextHOTP(_ sender: Any?) {