On Tuesday, Affleck revealed in a Facebook post that he had completed treatment for alcohol addiction

Jennifer Garner was spotted walking in Los Angeles just before Ben Affleck announced he completed rehab for alcohol addiction.

The actress, 44, was seen walking with a friend as she held a mug and sported a striped T-shirt with a gray cardigan and casual light-wash jeans.

On Tuesday, Affleck revealed in a Facebook post that he had completed treatment for alcohol addiction.

“I have completed treatment for alcohol addiction; something I’ve dealt with in the past and will continue to confront,” he wrote. “I want to live life to the fullest and be the best father I can be. I want my kids to know there is no shame in getting help when you need it, and to be a source of strength for anyone out there who needs help but is afraid to take the first step. I’m lucky to have the love of my family and friends, including my co-parent, Jen, who has supported me and cared for our kids as I’ve done the work I set out to do. This was the first of many steps being taken towards a positive recovery.”

Credit: BG004/Bauer-Griffin/GC Images
Credit: BG004/Bauer-Griffin/GC Images

Though Affleck and Garner announced their separation nearly two years ago, they have remained close, living together much of the time and co-parenting their kids. They’ve even taken family vacations together and recently celebrated the holidays together in Montana. They still haven’t filed for divorce, and sources recently told PEOPLE that that continues to be hold despite recent strains.

FROM COINAGE: You Don’t Need Superpowers to be Batman–Just This Much Money

“They want to keep the family together,” the source close to the couple said.

As Affleck told PEOPLE in January, “I like taking my kids to school in the morning and dropping them off and having them know their dad is there. That feels good.”