Could removing the other parent off social media affect custody battle?

I didn’t remove him so he wouldn’t see my posts. I don’t talk about him on social media whatsoever. I just didn’t want someone who isn’t kind to me having access to view my life.