[Solved] How can i change the switch button visibility?

I have added a switch button in my app which i want to hide in some circumstances but i cannot do it.
image

Just use this blockScreenshot 2020-04-04 at 10.36.53

image
did the same but still its visible at the wrong place.
image

Try placing the switch ina row. Placing it where you need it. And making the row invisible instead of the switch

image
usertyperow is the row which contain switch button,
Tried that also but is not working.

Hi, @shemanta.bhattarai18! :wave:

If @jared’s suggestion does not work, then there’s something to do with your if block.
Try removing the condition, for testing purposes.

Thanks! :blush:

Thank you, I didn’t think of it but all preceding statement worked well except that switch.