Dear questioner, May Allah bless you and increase you in good.
For repentance to be sound, one needs to do the following;
The Conditions for Repentance
The conditions for repentance are:
2. Remorse over having sinned;
3. Resolve never to return to the sin;
4. (If it relates to the rights of another person, then to) Return the rights or property one wrongly took. [al-Bariqa fi Sharh al-Tariqa; Riyad al-Salihin]So in your case, it seems like you have repented. Do your best never to slip into that sin again.