I was reading a paper and I think that they used the following theorem:
Let $G$ compact group and $\mu$ a probability measure on $G$. If $$\hat{\mu}(\xi)= \int_G \overline{\xi(x)} d\mu(x) = \begin{cases} 0 & \text{ if }\xi = 0 \\ 1 & \text{ if } \xi\neq 0\end{cases} \quad \xi \in \hat{G}$$ then $\mu$ is the Haar measure.
Is this theorem true?
I looked on the book An Introduction to Harmonic Analysis of Katznelson that my teacher recommended and I only found the converse of the theorem on a exercise.
Any help will be appreciated.