Merge pull request #656 from ultrasonic/randomReload

Don't clear random list when appending
This commit is contained in:
tzugen 2021-12-22 12:42:55 +01:00 committed by GitHub
commit 8d5675f461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class AlbumListModel(application: Application) : GenericListModel(application) {
// If we are refreshing the random list, we want to avoid items moving across the screen,
// by clearing the list first
if (refresh && albumListType == "random") {
if (refresh && !append && albumListType == "random") {
list.postValue(listOf())
}