Answer
The conditions for repentance to be accepted are; a) Sincerely regret committing the sin, and, b) Make firm intention never to repeat the sin in future.
Insha Allah, Allah will accept the repentance. (Riyaadh al-Saaliheen pg.18; Darul Fikr)
And Allah Ta’ala Knows Best
By Mufti Ebrahim Desai