1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-12-22 11:42:30 +00:00

Added copy token on tap

This commit is contained in:
seiichiro 2014-01-10 19:26:46 +01:00
parent 7f781b8d90
commit a586ea01a7

View file

@ -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