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>
This commit is contained in:
Dirk Hohndel 2019-10-05 14:27:24 -07:00
parent 68a752ec19
commit 57d50d0101

View file

@ -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
});