Merged websocket PR

This commit is contained in:
Alex Kim
2024-12-09 00:11:19 +11:00
8 changed files with 319 additions and 256 deletions

View File

@@ -71,7 +71,7 @@ interface Props {
ignoreSafeAreas?: boolean;
setIgnoreSafeAreas: React.Dispatch<React.SetStateAction<boolean>>;
enableTrickplay?: boolean;
togglePlay: (ticks: number) => void;
togglePlay: () => void;
setShowControls: (shown: boolean) => void;
offline?: boolean;
isVideoLoaded?: boolean;
@@ -592,7 +592,7 @@ export const Controls: React.FC<Props> = ({
<TouchableOpacity
onPress={() => {
togglePlay(progress.value);
togglePlay();
}}
>
{!isBuffering ? (