Blac Chyna
Blac Chyna and Rob Kardashian agree to split custody of their daughter equally. Pictured: Reality stars arrive at Blac Chyna Birthday Celebration And Unveiling Of Her “Chymoji” Emoji Collection at the Hard Rock Cafe on May 10, 2016. Getty Images/Greg Doherty

There is no war between Blac Chyna and Rob Kardashian when it comes to their daughter.

Chyna and Kardashian may have been busy throwing shade at each other online over the past few days, but the two can easily set aside their bad blood for the sake of their baby, Dream. A source close to the pair told TMZ that the two agreed to share physical custody of their child. The arrangement has been “loose by consent.” Rob will have their daughter four days a week and Chyna gets the remaining three.

READ: Blac Chyna is never ever getting back with Rob Kardashian

The exes reportedly have no issues when it comes to co-parenting, including making child-rearing decisions. The insiders added that Chyna and Kardashian have no plans to go to court and ask a judge to make a formal child custody order.

But while they are not taking their custody battle to court, the two still have their personal feud to settle. On Monday, a court granted Chyna a temporary restraining order against her ex. Kardashian is now prohibited from getting near the model-entrepreneur and from posting about her online. This comes after Kardashian posted explicit photos of Chyna and threw numerous accusations at her on Instagram and Twitter last week.

Chyna’s lawyer, Lisa Bloom, told CNN that they were granted everything they sought in the petition. “As we have said all along, revenge porn is a form of domestic abuse,” she said. “It is also a crime in California and 38 other states.”

On the other hand, Rob’s attorney, Robert Shapiro, did not appear in court, but said that his client agreed to comply with all the conditions of the restraining order. At the moment, his lawyer said Kardashian is only focused on the “health and welfare of the baby and both parents are going to work towards that goal.”

“I, personally, on Mr. Kardahsian’s behalf apologized and offered our regrets as to what happened in the past couple of days,” Shapiro said. “Now we move forward to do one thing and one thing only, whatever is in the best interest of the child.”

Last week, Kardashian attacked Chyna online by posting nude photos of her on Instagram without her consent. After his account was shut down, he moved on to Twitter and continued lambasting the mother of his child on the social media site. His last post on Twitter was about his disappointment towards his ex, whom he accused of cheating on him and using him for his money. “I truly thought Chyna wanted to be a family and that's why I was so loyal to her but I learned my lesson and everyone else was right,” he wrote.