According to acrylgiessne.com https://acrylgiessen.com/en/acrylic-paint-on-glass/, different paints have different drying times. Usually, acrylic paint on glass will take about an hour to dry. With some enamel paints, the drying process could take a full week before they are cured. To dry out the paint entirely, the glass is best left out in a warm and sunny area.
According to Fluid Painting, https://fluid-painting.com/en/acrylic-paint-on-glass/, While you can use acrylic paint on any glass surface, this does not mean that it will adhere easily. It is best to provide a base to which the paint can stick once applied to the glass. As you will be using an enamel-based paint, it is ideal to prepare the surface with an enamel-based primer. These primers can be applied via a spray or a brush, and will take between 24 and 72 hours to adhere fully to the glass surface. Once dry, the surface should feel somewhat rougher, which will increase the adhesion between the primed surface and the paint.
In summary, the acrylic paint dries quickly on the glass, but it may take 1 – 3 days to adhere fully.