From 82c4170e6493de9edd2e9a84f8ea4a40340deb6b Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 2 Mar 2022 10:11:02 +0800 Subject: [PATCH] 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. --- ui/component/scheduledStreams/view.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/component/scheduledStreams/view.jsx b/ui/component/scheduledStreams/view.jsx index 64c0fa4d5..a9001403c 100644 --- a/ui/component/scheduledStreams/view.jsx +++ b/ui/component/scheduledStreams/view.jsx @@ -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()}`}