is this thrush??

S ⭐️⭐️⭐️
Hi guys. So I've been having this deep sharp pain on my left nipple. When I breastfeed my little baby is when it hurts the most and even if I'm not feeding her, I can feel shap pains on my nipple. I started noticing white spots around my nipples and I even encircled some of them so you. And see. Can someone please tell me what this is?
I consulted with my doctor and she said it might be thrush and gave me an anti-fungal ointment to apply on it. I called my baby's pedia and the nurse said to check baby's mouth to see if there's a white stuff that could not be wiped off, there's none.