It sounds like you are saying whenever you approach her she thinks she will get this medicine.
Assuming she is still young and likes to play, I would engage her with a string on a stick to make friends again. I would do this several times a day. Let her play. This also builds her confidence and makes her forget about her ears and her new home and all the adjustment.
At the end of the play session, be sure and give her a treat.
Also when you do the ear medicine, I agree with the person who said wrap her in a towel.
In addition, a vet told me once that it is very important to stay calm with the cat no matter what, keep your voice low and steady and loving, reassuring; be firm in your grip but never raise your voice or "freak out" as your kitty may be struggling. Also be relaxed, the more drama the kitty senses from you, the more they will be afraid and anticipate something awful.
When I have to put frontline on my one scaredy cat, I try and get her when she is engaged in some other thing and do it very quickly. So maybe if your kitty is looking at something out the window or napping, or during one of her play sessions, one person can be keeping her attention while the other person quickly does the towel and ointment. And then before she has a chance to react, go back to the string on the stick or leave her be. I have found it very effective to swoop in and out while the kitty is otherwise occupied, so it minimizes the whole thing. Good luck!!