From 3b3ff0a08efe833b0901480690e381d8b082a49a Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 18 Nov 2020 18:33:22 +0100 Subject: [PATCH] fix notification closing --- look-and-feel/contents/lockscreen/SimpleNotification.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/look-and-feel/contents/lockscreen/SimpleNotification.qml b/look-and-feel/contents/lockscreen/SimpleNotification.qml index a7563a93..764bd8ac 100644 --- a/look-and-feel/contents/lockscreen/SimpleNotification.qml +++ b/look-and-feel/contents/lockscreen/SimpleNotification.qml @@ -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(); }