I've made changes to streamline the way we handle the visibility of certain settings in our settings module. After working on PR #46, I noticed we were repeating the same code for controlling visibility across multiple places. To clean this up, I introduced a new function, updateSettingVisibility(classSelector, visible), which consolidates the logic into a single, reusable method. This approach not only reduces duplication but also makes our code easier to maintain and understand.
I've made changes to streamline the way we handle the visibility of certain settings in our settings module. After working on PR #46, I noticed we were repeating the same code for controlling visibility across multiple places. To clean this up, I introduced a new function, updateSettingVisibility(classSelector, visible), which consolidates the logic into a single, reusable method. This approach not only reduces duplication but also makes our code easier to maintain and understand.