[BUG] Breaking change in the "Enabled Sounds" state due to AudioHelper change #178
Closed
8 tasks done
Labels
bug
Something isn't working
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Code to reproduce the issue:
This PR has introduced a breaking change making the enabledSounds state not persist when calling the
device.updateOptions
function.device.updateOptions
recreate a new Instance of the AudioHelper each time this method is called, and because now theenabledSounds
state is stored on the AudioHelper class, this state doesn't persist as it used to be.A simple solution, would be to pass the enabledSounds to the new AudioHelper instance before destroying the previous one.
What do you think?
The issue was introduced in v2.4.0
Software versions:
The text was updated successfully, but these errors were encountered: