This should be an easy one. I have a gallery and a button on a SharePoint customized Powerapps form.
Button.OnSelect = Gallery.Visible=false
Save and publish.
Click, nothing. Reload page, click, nothing. Clear browser cache, click, nothing.
E for effort though, keep up the great work...
Try this method:
1- on the button.OnSelect:
2-Assign the Visible property of the gallery to VisibilityToggle,