mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 02:04:45 +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: {
|
onReleased: {
|
||||||
if (Math.abs(rect.x) > width / 2) { // dismiss notification when finished swipe
|
if (Math.abs(rect.x) > width / 2) { // dismiss notification when finished swipe
|
||||||
notifModel.close(notification.id);
|
notifModel.close(notificationItem.notification.notificationId);
|
||||||
} else {
|
} else {
|
||||||
slideAnim.restart();
|
slideAnim.restart();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue