8/12/2020 12:35:07 PM
Whenever you click on button state is assigned false again
It is changing.. You are outputting it before setting it to true. And as Abhay said, if you click it again.. It is set to false again..
Yeah didn't consider that... thanks
Send us a message