1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2025-02-26 16:37:58 +01:00

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

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())
}