* Discover: add persistence to the livestream section's fold state The persisted value should only apply when livestream section is needed, hence the need for 2 state variables. Also renamed the variables for clarity. * Discover: add "show less livestreams" at upper-right Wanted to put it as an injected tile, but requires more work to do it in a general-purpose way, as opposed to a hardcoded way like how ads are currently injected. It also needs to work on both Tile and List format. So ... just place the button at the upper-right for now. Although a bit odd, at least it'll be a consistent place (i.e. position won't be affected by live tile count). |
||
---|---|---|
.. | ||
index.js | ||
view.jsx |