fix(home): Find the pool's live games list under its new name, Live Sports #39
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/live-sports-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was wrong
On 2026-11-06 the pool renamed its Live Now category to Live Sports (same category id,
187) and added Popular on TV before it. The app finds that list by the name "Live Now" (HomeLists.isLiveNow), so since then:I found this while testing #38. Nothing failed loudly; the lists just lost their special treatment.
What changed
HomeLists.kt:isLiveNowalso accepts "Live Sports", but only when the provider is the pool (itspool_infolistsevent_info). Plain panels use that name for ordinary channels, so for them nothing changes.HomeViewModel.ktandSportsViewModel.ktpass that check in.HomeListsTest.ktcovers both names, the pool-only rule, and that Popular on TV and Sports don't match.Verified
testDebugUnitTest(630 tests),lintDebugandassembleDebugpass.mainNot changed
Popular on TV also carries
pool_events, and its rows already show the event titles. It stays an ordinary category, as the app has no special list for TV events.