If you have some specific TLS version hard-coded in several places, and if you need to change all those parts of the code whenever you want to adjust the version, that's clearly not a good approach. You make security-related updates unnecessarily annoying (especially if the application is used by other people), which increases the risk that they don't happen. And you may end up with inconsistencies where different components use different TLS versions and configurations for no good reason.
However, the problem is more about the several places and not the hard-coding. You should have an abstraction layer which hides TLS-related details. For example, if you want to make HTTPS requests, then there should be an abstract HTTPS client which takes care of the choosing the right TLS version and settings. This version can then be defined in a single place, be it as a constant in the code, a parameter in a configuration file or whatever seems sensible.