Add trending back (Gaming and Live)

This commit is contained in:
Brahim Hadriche committed 2026-07-01 17:53:02 -04:00
1 parent fbb4a45ce5
commit 38bfa1a102
15 files changed
+200 -1

No files matched your search

@@ -188,6 +188,16 @@ function MigrateExistingPreferences(userPrefs as object) as boolean
isDirty = true
end if
if userPrefs.__version = 7
homeScreenLayout = userPrefs["misc.home_screen_layout"]
if IsArray(homeScreenLayout)
homeScreenLayout.Push({ id: "trending_livestreams", enabled: true })
homeScreenLayout.Push({ id: "trending_gaming", enabled: true })
end if
userPrefs.__version = 8
isDirty = true
end if
' TODO:P2 handle case where saved preferences version is higher than current version (e.g. user downgraded)
#if DEBUG