fix autoplay countdown
This commit is contained in:
parent
419dd6431e
commit
46fbcb5a0f
3 changed files with 3 additions and 17 deletions
|
@ -1480,6 +1480,5 @@
|
|||
"Español": "Español",
|
||||
"Türkçe": "Türkçe",
|
||||
"Česky": "Česky",
|
||||
"LBRY LATAM": "LBRY LATAM",
|
||||
"--end--": "--end--"
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ type Props = {
|
|||
nextRecommendedClaim: ?StreamClaim,
|
||||
nextRecommendedUri: string,
|
||||
isFloating: boolean,
|
||||
doSetPlayingUri: (string | null) => void,
|
||||
doSetPlayingUri: ({ uri: ?string }) => void,
|
||||
doPlayUri: string => void,
|
||||
modal: { id: string, modalProps: {} },
|
||||
};
|
||||
|
@ -50,12 +50,12 @@ function AutoplayCountdown(props: Props) {
|
|||
if (!isFloating) {
|
||||
if (navigateUrl) {
|
||||
push(navigateUrl);
|
||||
doSetPlayingUri(nextRecommendedUri);
|
||||
doSetPlayingUri({ uri: nextRecommendedUri });
|
||||
doPlayUri(nextRecommendedUri);
|
||||
}
|
||||
} else {
|
||||
if (nextRecommendedUri) {
|
||||
doSetPlayingUri(nextRecommendedUri);
|
||||
doSetPlayingUri({ uri: nextRecommendedUri });
|
||||
doPlayUri(nextRecommendedUri);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -178,19 +178,6 @@ th {
|
|||
.table--details {
|
||||
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 {
|
||||
@extend .table--details;
|
||||
|
|
Loading…
Add table
Reference in a new issue