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...