As a rule, the desired salary is only mentioned in the cover letter if this is explicitly requested in the job advertisement.