Where did the OP say they’ve done nothing? Isn’t it entirely possible they’ve said how they feel about it, and their partner decided not to listen to them for whatever reason?
I had a partner who smoked and continually encouraged them to quit. It took years. Pathological behaviors are hard to break.