When hiding Movies and Series via settings as a result Saved was shown twice. The culprit was the logic hidden in switch/case/fallthough which didn't catch all possible cases.
Since there are only 4 booleans which can be represented in 16 states we set up an array of all possible return codes and just index into that map.
The app still has to be restarted when these settings change
When hiding `Movies` and `Series` via settings as a result `Saved` was shown twice. The culprit was the logic hidden in switch/case/fallthough which didn't catch all possible cases.
Since there are only 4 booleans which can be represented in 16 states we set up an array of all possible return codes and just index into that map.
The app still has to be restarted when these settings change
The app still has to be restarted when these settings change
I see no way around this yet. So this is no problem.
In any case, this PR is much appreciated. I was aware of the bug, but didn't have the time to fix it. So many thanks to you! :)
> The app still has to be restarted when these settings change
I see no way around this yet. So this is no problem.
In any case, this PR is much appreciated. I was aware of the bug, but didn't have the time to fix it. So many thanks to you! :)
When hiding
Movies
andSeries
via settings as a resultSaved
was shown twice. The culprit was the logic hidden in switch/case/fallthough which didn't catch all possible cases.Since there are only 4 booleans which can be represented in 16 states we set up an array of all possible return codes and just index into that map.
The app still has to be restarted when these settings change
I see no way around this yet. So this is no problem.
In any case, this PR is much appreciated. I was aware of the bug, but didn't have the time to fix it. So many thanks to you! :)