Forum Academy Marketplace Showcase Pricing Features

Feather icon toggle-left to toggle-right

So I want a feather icon(toggle-left)no to be set to yes(to toggle-right) when in data the availability is yes.

When i open the app the normal thing should be if it is no it is colour red and toggle left icon, but if the item is available(yes) then the feather icon should be toggle-right(green colour), but it isn’t for me.
Could someone help me with this?

Feather icon in repeating group of Dishes:

Screenshot 2023-03-18 at 12.45.54
Screenshot 2023-03-18 at 12.46.01

Workflow when feather icon is clicked:

When feather icon is clicked vice-versa: