Don't limit livestreams for Following section

https://odysee-workspace.slack.com/archives/C02G20Z2AEL/p1653779545610999
This commit is contained in:
infinite-persistence 2022-05-30 11:21:33 +08:00
parent a7bbb464d6
commit ba62170ef7
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -134,7 +134,10 @@ function HomePage(props: Props) {
{...options} {...options}
showNoSourceClaims={ENABLE_NO_SOURCE_CLAIMS} showNoSourceClaims={ENABLE_NO_SOURCE_CLAIMS}
hasSource hasSource
prefixUris={getLivestreamUris(activeLivestreams, options.channelIds).slice(0, CATEGORY_LIVESTREAM_LIMIT)} prefixUris={getLivestreamUris(activeLivestreams, options.channelIds).slice(
0,
id === 'FOLLOWING' ? undefined : CATEGORY_LIVESTREAM_LIMIT
)}
pins={{ urls: pinUrls, claimIds: pinnedClaimIds }} pins={{ urls: pinUrls, claimIds: pinnedClaimIds }}
injectedItem={index === 0 && !hasPremiumPlus && { node: <Ads small type="video" tileLayout /> }} injectedItem={index === 0 && !hasPremiumPlus && { node: <Ads small type="video" tileLayout /> }}
forceShowReposts={id !== 'FOLLOWING'} forceShowReposts={id !== 'FOLLOWING'}