fix autoplay countdown

This commit is contained in:
Sean Yesmunt 2020-10-30 00:01:13 -04:00
parent 419dd6431e
commit 46fbcb5a0f
3 changed files with 3 additions and 17 deletions

View file

@ -1480,6 +1480,5 @@
"Español": "Español", "Español": "Español",
"Türkçe": "Türkçe", "Türkçe": "Türkçe",
"Česky": "Česky", "Česky": "Česky",
"LBRY LATAM": "LBRY LATAM",
"--end--": "--end--" "--end--": "--end--"
} }

View file

@ -15,7 +15,7 @@ type Props = {
nextRecommendedClaim: ?StreamClaim, nextRecommendedClaim: ?StreamClaim,
nextRecommendedUri: string, nextRecommendedUri: string,
isFloating: boolean, isFloating: boolean,
doSetPlayingUri: (string | null) => void, doSetPlayingUri: ({ uri: ?string }) => void,
doPlayUri: string => void, doPlayUri: string => void,
modal: { id: string, modalProps: {} }, modal: { id: string, modalProps: {} },
}; };
@ -50,12 +50,12 @@ function AutoplayCountdown(props: Props) {
if (!isFloating) { if (!isFloating) {
if (navigateUrl) { if (navigateUrl) {
push(navigateUrl); push(navigateUrl);
doSetPlayingUri(nextRecommendedUri); doSetPlayingUri({ uri: nextRecommendedUri });
doPlayUri(nextRecommendedUri); doPlayUri(nextRecommendedUri);
} }
} else { } else {
if (nextRecommendedUri) { if (nextRecommendedUri) {
doSetPlayingUri(nextRecommendedUri); doSetPlayingUri({ uri: nextRecommendedUri });
doPlayUri(nextRecommendedUri); doPlayUri(nextRecommendedUri);
} }
} }

View file

@ -178,19 +178,6 @@ th {
.table--details { .table--details {
font-size: var(--font-small); font-size: var(--font-small);
} }
.table--file-details {
@extend .table--details;
margin-top: var(--spacing-m);
td:nth-of-type(1) {
width: 25%;
}
td:nth-of-type(2) {
width: 75%;
text-align: right;
}
}
.table--lbc-details { .table--lbc-details {
@extend .table--details; @extend .table--details;