Fix bug where home screen editor is empty with a fresh install

This commit is contained in:
Brahim Hadriche committed 2026-05-03 16:02:14 -04:00
1 parent 1e121fdddd
commit 22f8031b91
3 files changed
+29 -8

No files matched your search

@@ -171,7 +171,9 @@ function MigrateExistingPreferences(userPrefs as object) as boolean
end if
filteredLayout.Push(item)
end for
userPrefs["misc.home_screen_layout"] = filteredLayout
if filteredLayout.Count() > 0
userPrefs["misc.home_screen_layout"] = filteredLayout
end if
userPrefs.__version = 6
isDirty = true
end if