Staying or leaving

Kim • mom of two girls. 10/1/2011& 06/05/2018

My daughter's dad and I have been in and out of a relationship for 4 years. After the baby everything went down hill. We haven't been together in a year. Long story short, he took me to court 2 weeks ago for custody of our baby and we got joint. Now all of a sudden he wants to work on our relationship. Which seems odd. You didn't want it before but now that there's papers and people dictating our child life you want to be with me. Makes no sense... After all this I don't want to with him anymore. But I feel like I should try for my daughter. The love just isn't there for me anymore. Advice suggestions are welcome. No negative comments please.