ScheduledStreams: force horizontal-swipe to tile-only
List-layout is not scrollable, and doesn't look good either. Force to tile-only until we can fix it. If we decide to always use tile-only, then remove the parameter for ScheduledStreams.
This commit is contained in:
parent
5048f7a2a1
commit
82c4170e64
1 changed files with 6 additions and 2 deletions
|
@ -26,7 +26,7 @@ type Props = {
|
|||
const ScheduledStreams = (props: Props) => {
|
||||
const {
|
||||
channelIds,
|
||||
tileLayout,
|
||||
// tileLayout,
|
||||
liveUris = [],
|
||||
limitClaimsPerChannel,
|
||||
setClientSetting,
|
||||
|
@ -82,7 +82,11 @@ const ScheduledStreams = (props: Props) => {
|
|||
streamType={'all'}
|
||||
hasNoSource
|
||||
orderBy={CS.ORDER_BY_NEW_ASC}
|
||||
tileLayout={tileLayout}
|
||||
// List-layout is not scrollable, and doesn't look good either. Force
|
||||
// to tile-only until we can fix it. If we decide to always use
|
||||
// tile-only, then remove the parameter for ScheduledStreams
|
||||
// tileLayout={tileLayout}
|
||||
tileLayout
|
||||
tags={[SCHEDULED_LIVESTREAM_TAG]}
|
||||
claimType={[CS.CLAIM_STREAM]}
|
||||
releaseTime={`>${moment().subtract(LIVESTREAM_UPCOMING_BUFFER, 'minutes').startOf('minute').unix()}`}
|
||||
|
|
Loading…
Reference in a new issue