The actress sued her It Ends With Us co-star and director over alleged sexual harassment, sparking months of acrimonious litigation.