Init: better widget upgrading process + less warnings when starting up without config or cache

This commit is contained in:
LemmyCook 2025-09-08 08:39:56 -04:00
parent b43b065cf2
commit 3271fa1d23
6 changed files with 32 additions and 27 deletions

View file

@ -25,6 +25,7 @@ Singleton {
FileView {
id: locationFileView
path: locationFile
printErrors: false
onAdapterUpdated: saveTimer.start()
onLoaded: {
Logger.log("Location", "Loaded cached data")

View file

@ -30,6 +30,7 @@ Singleton {
FileView {
id: cacheFileView
path: root.cacheFile
printErrors: false
JsonAdapter {
id: cacheAdapter

View file

@ -65,6 +65,7 @@ Singleton {
id: historyFileView
objectName: "notificationHistoryFileView"
path: historyFile
printErrors: false
watchChanges: true
onFileChanged: reload()
onAdapterUpdated: writeAdapter()