In order to hide/show social icons, navigate to Theme Settings -> Social profiles. If you are using them as “Links” then just define or remove the link here – https://take.ms/F0xio , thus, when there is no link, the button will be hidden and vice versa.
If you use Share buttons, then just enable/disable them here – https://take.ms/ogSVy