clear pasteboard after 45 seconds
This commit is contained in:
parent
e1f3a08666
commit
2f3ccc9c07
4 changed files with 16 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ class LabelTableViewCell: UITableViewCell {
|
|||
}
|
||||
|
||||
override func copy(_ sender: Any?) {
|
||||
UIPasteboard.general.string = cellData?.content
|
||||
Utils.copyToPasteboard(textToCopy: cellData?.content)
|
||||
}
|
||||
|
||||
func revealPassword(_ sender: Any?) {
|
||||
|
|
@ -79,7 +79,7 @@ class LabelTableViewCell: UITableViewCell {
|
|||
}
|
||||
|
||||
func openLink(_ sender: Any?) {
|
||||
UIPasteboard.general.string = password?.password
|
||||
Utils.copyToPasteboard(textToCopy: password?.password)
|
||||
UIApplication.shared.open(URL(string: cellData!.content)!, options: [:], completionHandler: nil)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue