File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -126,20 +126,20 @@ export const SectionList = forwardRef(function SectionList<
126126 SectionT = DefaultSectionT
127127> (
128128 props : Animated . AnimatedProps < RNSectionListProps < ItemT , SectionT > > & {
129- shouldShowPlayBarChin ?: boolean
129+ hidePlayBarChin ?: boolean
130130 } ,
131131 ref : Ref < RNSectionList < ItemT , SectionT > >
132132) {
133- const { ListFooterComponent, shouldShowPlayBarChin , ...other } = props
133+ const { ListFooterComponent, hidePlayBarChin , ...other } = props
134134
135135 const FooterComponent = ListFooterComponent ? (
136136 < >
137137 { ListFooterComponent }
138- { shouldShowPlayBarChin ? < PlayBarChin /> : null }
138+ { hidePlayBarChin ? null : < PlayBarChin /> }
139139 </ >
140- ) : shouldShowPlayBarChin ? (
140+ ) : hidePlayBarChin ? null : (
141141 < PlayBarChin />
142- ) : null
142+ )
143143
144144 const sectionListProps = {
145145 ...other ,
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ export type LineupProps = {
300300 /**
301301 * Whether to show the play bar chin
302302 */
303- shouldShowPlayBarChin ?: boolean
303+ hidePlayBarChin ?: boolean
304304
305305 // Tan query props
306306 pageSize : number
@@ -355,7 +355,7 @@ export const TanQueryLineup = ({
355355 isPending,
356356 queryData = [ ] ,
357357 maxEntries = Infinity ,
358- shouldShowPlayBarChin = true ,
358+ hidePlayBarChin = false ,
359359 ...listProps
360360} : LineupProps ) => {
361361 const debouncedLoadNextPage = useDebouncedCallback (
@@ -526,7 +526,7 @@ export const TanQueryLineup = ({
526526 onScroll = { handleScroll }
527527 ListHeaderComponent = { hideHeaderOnEmpty && isEmpty ? undefined : header }
528528 ListFooterComponent = { lineup . hasMore ? null : ListFooterComponent }
529- shouldShowPlayBarChin = { shouldShowPlayBarChin }
529+ hidePlayBarChin = { true }
530530 ListEmptyComponent = { LineupEmptyComponent }
531531 onEndReached = { handleEndReached }
532532 onEndReachedThreshold = { LOAD_MORE_THRESHOLD }
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export const TrackScreenLineup = ({
8585 hasMore = { false }
8686 isPending = { isPending }
8787 queryData = { data }
88- shouldShowPlayBarChin = { false }
88+ hidePlayBarChin = { true }
8989 />
9090 { parentTrackId ? (
9191 < ViewOtherRemixesButton parentTrackId = { parentTrackId } />
You can’t perform that action at this time.
0 commit comments