lbry-desktop/ui/component/channelContent
infinite-persistence b0e88ff5d1
Add "Hide Repost" button in channel page (#1796)
* Re-organized per 'state->var->func->effect->return' structure.

* Add "Hide Repost" button in channel page

Ticket: 1762

## Change
For the placement of the button, putting it inside the expanded settings group feels the most natural, plus we then don't need to check whether the channel has reposts or not before displaying it (the expanded area is for stuff like this).

## Notes
The tricky part was making the code maintainable w.r.t to the global "Hide Repost" setting. Changed `forceShowReposts` to `hideRepostsOverride`, hopefully makes things more obvious.
- undefined = fallback to global setting
- true/false = use override
2022-07-05 13:20:10 -04:00
..
internal Channel Search pagination 2022-03-08 19:50:44 -05:00
index.js Remove Premium+ Tiles when Premium+ is active (#1525) 2022-05-18 20:51:15 +02:00
view.jsx Add "Hide Repost" button in channel page (#1796) 2022-07-05 13:20:10 -04:00