Bismillah
Thank you for your question. Repenting openly is not a condition for the acceptance of repentance for sins committed openly.
May you always be successful
Shaykh Zoheir Ali Esmail has a Bsc in Accounting and Finance from the LSE in London, and an MA in Islamic Studies from Middlesex University. He studied Arabic at Damascus University and holds a PhD from the University of Exeter in the philosophical and mystical readings of Mulla Sadra in the context of the schools of Tehran and Qum.