summaryrefslogtreecommitdiff
path: root/services/Notifs.qml
diff options
context:
space:
mode:
Diffstat (limited to 'services/Notifs.qml')
-rw-r--r--services/Notifs.qml9
1 files changed, 5 insertions, 4 deletions
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<var> 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