spr-networks / super

📡 SPR: Open Source, secure, user friendly and fast wifi routers for your home. One wifi password per device. Ad Blocking & Privacy Blocklists. Policy Based Network Access
https://www.supernetworks.org/
BSD 3-Clause "New" or "Revised" License
171 stars 12 forks source link

feature request: ios: ui: refreshing data when app is in foreground #293

Closed 0vercl0k closed 4 months ago

0vercl0k commented 6 months ago

I'm not too sure what's the right way of doing this - but basically, every time I pull the app on the index page, I need to click on another tab and click again to go back to the main tab to have it refresh data.

I think ideally, having it auto refresh when the app is back on foreground would work well - but if that's not feasible, maybe a small refresh button somewhere could just do the work.

lts-rad commented 6 months ago

@lts-po thoughts on dashboard refresh? i wonder why its not happening on ios

lts-rad commented 6 months ago

i wonder if we can do a universal hook, https://www.strictmode.io/articles/react-pull-to-refresh

lts-po commented 6 months ago

will be avail in next release & also refresh stats when switching tabs