Fix NotificationPopup.qml

This commit is contained in:
Ly-sec 2025-08-07 19:51:24 +02:00
parent 8a7c3b754c
commit 3148dc62a0

View file

@ -340,19 +340,22 @@ Item {
}
}
Timer {
id: appearTimer
interval: 10
repeat: false
onTriggered: {
appearAnimation.start();
}
}
Component.onCompleted: {
if (!appeared) {
opacity = 0;
height = 0;
x = width;
// Small delay to ensure contentRow has proper height
Timer {
interval: 10
repeat: false
onTriggered: {
appearAnimation.start();
}
}
appearTimer.start();
for (let i = 0; i < notificationModel.count; i++) {
if (notificationModel.get(i).id === notificationDelegate.id) {
var oldItem = notificationModel.get(i);