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 ScheduledStreams = (props: Props) => {
|
||||||
const {
|
const {
|
||||||
channelIds,
|
channelIds,
|
||||||
tileLayout,
|
// tileLayout,
|
||||||
liveUris = [],
|
liveUris = [],
|
||||||
limitClaimsPerChannel,
|
limitClaimsPerChannel,
|
||||||
setClientSetting,
|
setClientSetting,
|
||||||
|
@ -82,7 +82,11 @@ const ScheduledStreams = (props: Props) => {
|
||||||
streamType={'all'}
|
streamType={'all'}
|
||||||
hasNoSource
|
hasNoSource
|
||||||
orderBy={CS.ORDER_BY_NEW_ASC}
|
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]}
|
tags={[SCHEDULED_LIVESTREAM_TAG]}
|
||||||
claimType={[CS.CLAIM_STREAM]}
|
claimType={[CS.CLAIM_STREAM]}
|
||||||
releaseTime={`>${moment().subtract(LIVESTREAM_UPCOMING_BUFFER, 'minutes').startOf('minute').unix()}`}
|
releaseTime={`>${moment().subtract(LIVESTREAM_UPCOMING_BUFFER, 'minutes').startOf('minute').unix()}`}
|
||||||
|
|
Loading…
Reference in a new issue