[feature request] Being able to know if a PTR was initiated by the user or not.
Vinzius opened this issue · 0 comments
Vinzius commented
Hey !
First, thanks for your work.
A feature request
What do you want to add?
In my case, I need to know if a refresh is initiated by the user or not. Said differently, if the user pulls, or if the application manually displayed the animation.
Why? Simple case, you want to hard-refresh the content from your API when the users pulls, but you don't want to do it when you display the PTR (because you're refreshing the content).
How should it look like?
Have a boolean in the action block.
I'll submit a PR soon!
Thanks,
Vincent