remove refresh buttons from grid carousel by default

This commit is contained in:
jeffvli
2025-12-23 21:27:12 -08:00
parent 05efd0f318
commit 936ba73fe4
4 changed files with 19 additions and 3 deletions
@@ -38,6 +38,7 @@ const HomeRoute = () => {
title: t('page.home.mostPlayed', { postProcess: 'sentenceCase' }),
},
[HomeItem.RANDOM]: {
enableRefresh: true,
itemType: LibraryItem.ALBUM,
sortBy: AlbumListSort.RANDOM,
sortOrder: SortOrder.ASC,
@@ -118,6 +119,7 @@ const HomeRoute = () => {
if (carousel.itemType === LibraryItem.ALBUM) {
return (
<AlbumInfiniteCarousel
enableRefresh={carousel.enableRefresh}
key={`carousel-${carousel.uniqueId}`}
rowCount={1}
sortBy={carousel.sortBy}