mirror of
https://github.com/seiichiro0185/sailotp.git
synced 2024-11-22 07:39:42 +00:00
Added copy token on tap
This commit is contained in:
parent
7f781b8d90
commit
a586ea01a7
1 changed files with 6 additions and 2 deletions
|
@ -138,11 +138,15 @@ Page {
|
|||
contentHeight: Theme.itemSizeMedium
|
||||
width: parent.width
|
||||
|
||||
function remove() {
|
||||
// Show 5s countdown, then delete from DB and List
|
||||
function remove() {
|
||||
// Show 5s countdown, then delete from DB and List
|
||||
remorseAction("Deleting", function() { DB.removeOTP(title, secret); otpListModel.remove(index) })
|
||||
}
|
||||
|
||||
onClicked: {
|
||||
Clipboard.text = otp
|
||||
}
|
||||
|
||||
ListView.onRemove: animateRemoval()
|
||||
Rectangle {
|
||||
id: listRow
|
||||
|
|
Loading…
Reference in a new issue