Friend threatening with ultimatum.

I (32f) have a friend, Angela, and we’ve been friends for a realllllly long time. And she has an on and off abusive repeat boyfriend named Leon. Now recently I was in public and was forced into an interaction with him. I decided plainly just to walk away without interaction due to my severe dislike for him. She’s upset that I didn’t give him a chance and wants to threaten our friendship over it. She told me I need to be respectful or we aren’t friends anymore.

I feel like this is toxic as we’re all adults and I’m capable of making decisions to remove myself from situations that I don’t want to be in. I don’t think this was justified to threaten our lengthy friendship over.

LSS: Long term friend has shitty excuse of a boyfriend and wants us all to live in harmony as friends

Edit: I don’t think some of these “defenders” of my friend’s POV realize the full capacity of the word abusive. It’s not just him being a generally mean person. It’s physical abuse. Mental manipulation. Emotional turmoil. She is in a position to not make healthy decisions. Also, by her ultimatum, it’s proved that she is stuck in a position that will ultimately uproot her life. And I cannot stand by to encourage it in any capacity. My best decision was to walk away.