summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-05 14:27:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-13 11:32:27 -0700
commit57d50d01019a4498973fce1448dbd249e69b77ba (patch)
tree91546dff9cb1aea0df9bfabc70cf20150a20c35b /mobile-widgets
parent68a752ec19364c4f62771cf171efc40ebe08bf4c (diff)
downloadsubsurface-57d50d01019a4498973fce1448dbd249e69b77ba.tar.gz
Mobile: show the undo for delete for 5 seconds
Before that it was 3 seconds that was a little too short for peopl to be happy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveDetails.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml
index 392a7e1dd..ce6ba3411 100644
--- a/mobile-widgets/qml/DiveDetails.qml
+++ b/mobile-widgets/qml/DiveDetails.qml
@@ -156,7 +156,7 @@ Kirigami.Page {
var deletedIndex = diveDetailsListView.currentIndex
manager.deleteDive(deletedId)
pageStack.pop()
- showPassiveNotification("Dive deleted", 3000, "Undo",
+ showPassiveNotification("Dive deleted", 5000, "Undo",
function() {
diveDetailsListView.currentIndex = manager.undoDelete(deletedId) ? deletedIndex : diveDetailsListView.currentIndex
});