mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
fix notification closing
This commit is contained in:
parent
894d4a3b72
commit
3b3ff0a08e
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue