Commit 3b3ff0a0 authored by Marco Martin's avatar Marco Martin Committed by Bhushan Shah

fix notification closing

parent 894d4a3b
......@@ -183,7 +183,7 @@ Item {
}
onReleased: {
if (Math.abs(rect.x) > width / 2) { // dismiss notification when finished swipe
notifModel.close(notification.id);
notifModel.close(notificationItem.notification.notificationId);
} else {
slideAnim.restart();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment