From e3b3a6687719870dd3f92761e42184cbf6817200 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 9 Apr 2026 21:56:51 +1000 Subject: [PATCH] fix: notif fileview warnings on first launch --- services/Notifs.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/Notifs.qml b/services/Notifs.qml index 92e609be..9ea5beff 100644 --- a/services/Notifs.qml +++ b/services/Notifs.qml @@ -105,6 +105,7 @@ Singleton { FileView { id: storage + printErrors: false path: `${Paths.state}/notifs.json` onLoaded: { const data = JSON.parse(text()); @@ -116,7 +117,7 @@ Singleton { onLoadFailed: err => { if (err === FileViewError.FileNotFound) { root.loaded = true; - setText("[]"); + Qt.callLater(() => setText("[]")); } } }