I think the ruling will be in your favor. If you have provided a stable, loving home environment, and your ex has shown ambivalence or a poor record of remaining an active part of your daughters life, then you should have no worries.
The days of automatic custody to the mother are over. Judges are much more open to giving a loving, caring father custody these days. All my prayers will be with you.