mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 14:55:27 +00:00
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:
parent
68a752ec19
commit
57d50d0101
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue