hplush / slowreader

Web app to combine feeds from social networks and RSS and to help read more meaningful and deep content
https://dev.slowreader.app
GNU Affero General Public License v3.0
161 stars 37 forks source link

Do not show mobile menu on no categories #178

Closed ai closed 1 month ago

ai commented 7 months ago

On mobile, we show posts list after clicking on Fast/Slow buttons.

We need to close that menu if the list is empty of contains only 1 element (like 1 category for Fast or 1 feed for Slow).

Note, that Fast/Slow menus is loading the data and is not ready when user click on the menu. So it is better to use core API to check the categories. You may create some helpers (so we will re-use them in mobile client).

ilyatitovich commented 1 month ago

I want to take it