summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2019-09-28 18:11:08 +0200
committerStephen Kitt <steve@sk2.org>2019-09-28 18:11:08 +0200
commit7ae393479436e26d41fa1edbd8a157771a25466b (patch)
treea6f6d201542e7e04a6606e6051d8822652553179 /app/src/main/java/de/danoeh/antennapod/adapter/actionbutton
parentd7f0f95adaa2adf15d3231994dab2eb469d8dd14 (diff)
downloadAntennaPod-7ae393479436e26d41fa1edbd8a157771a25466b.zip
Fix the smart shuffle spread calculation
We want to ensure that the total spread is divisible by all feed sizes, so the modulo calculation needs to divide spread by the feed size, not the other way round as is done currently. In addition, this ensures the per-feed spread is never 0 (so the degenerate case is equivalent to the old smart shuffle). Signed-off-by: Stephen Kitt <steve@sk2.org>
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter/actionbutton')
0 files changed, 0 insertions, 0 deletions