Don't clear random list when appending
This commit is contained in:
parent
c2b23c4001
commit
a5e8daa912
|
@ -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,
|
// If we are refreshing the random list, we want to avoid items moving across the screen,
|
||||||
// by clearing the list first
|
// by clearing the list first
|
||||||
if (refresh && albumListType == "random") {
|
if (refresh && !append && albumListType == "random") {
|
||||||
list.postValue(listOf())
|
list.postValue(listOf())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue