diff options
author | Stephen Kitt <steve@sk2.org> | 2019-09-28 18:11:08 +0200 |
---|---|---|
committer | Stephen Kitt <steve@sk2.org> | 2019-09-28 18:11:08 +0200 |
commit | 7ae393479436e26d41fa1edbd8a157771a25466b (patch) | |
tree | a6f6d201542e7e04a6606e6051d8822652553179 /app/src/main/java/de/danoeh/antennapod/adapter/actionbutton | |
parent | d7f0f95adaa2adf15d3231994dab2eb469d8dd14 (diff) | |
download | AntennaPod-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