This PR modifies PrefUtils to use LiveData for storing the hook state.
Additionally, a function getHookActiveAsLiveData() has been added. This function is currently unused, however, it will be needed later for setting up the listener for updating the in-app toggle switch reflecting the hook state.
This PR does not introduce any user-facing changes to the app.
This PR modifies
PrefUtils
to use LiveData for storing the hook state.Additionally, a function
getHookActiveAsLiveData()
has been added. This function is currently unused, however, it will be needed later for setting up the listener for updating the in-app toggle switch reflecting the hook state.This PR does not introduce any user-facing changes to the app.