How can I switch between a [Folllow] button and a [Following] button just like Instagram?
Should I use 2 different buttons?
Or one button?
How can I switch between a [Folllow] button and a [Following] button just like Instagram?
Should I use 2 different buttons?
Or one button?
You need one button with some conditional logic applied to it which changes the button text value to either follow or following depending if the current user is following this user.
This topic was automatically closed after 70 days. New replies are no longer allowed.