From 3fb78654a2c919355c50dbc364827704233ce801 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 19 Sep 2025 22:51:01 +1000 Subject: notifs: persist time --- services/Notifs.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'services') diff --git a/services/Notifs.qml b/services/Notifs.qml index c5f0700..cb52bc5 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -23,6 +23,7 @@ Singleton { return; storage.setText(JSON.stringify(list.filter(n => !n.closed).map(n => ({ + time: n.time, id: n.id, summary: n.summary, body: n.body, @@ -150,10 +151,10 @@ Singleton { property bool resident: notification?.resident ?? false property bool hasActionIcons: notification?.hasActionIcons ?? false property list actions: notification?.actions.map(a => ({ - identifier: a.identifier, - text: a.text, - invoke: () => a.invoke() - })) ?? [] + identifier: a.identifier, + text: a.text, + invoke: () => a.invoke() + })) ?? [] readonly property Timer timer: Timer { running: true -- cgit v1.2.3-freya