AsalamuAlaykum Warahmatullahi Wabarakatuh,
Just make dua
Dua is powerful,
texts might hurt her/him
She may read it the wrong way?
Obviously you make dua for a person who has lost the right way, but you also have to make them realize their mistake. If you see someone doing something wrong it is your duty as a muslim to tell them of the right thing, regardless of whether they will like it or not. On the day of judgement it will be very easy for her/him to say that this person, my friend saw me going astray and still didn't stop me, then you will be questioned for it, when you saw this and were in the position to guide this person why you didn't. It's easier said than done, and i personally have a friend like this who always rolls her eyes on me when i talk to her, but at the end of the day due to my sincere commitment to God i have guided her to the best of my ability, the rest you must leave to God and then pray for them. The best thing is to sit down tell them of the right thing and God will be your witness as he knows you intentions.
Forgive me if i have said anything that is wrong or offensive to anyone.