mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
chore: cleanup & pass title to header
This commit is contained in:
@@ -104,8 +104,6 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
|
||||
: [],
|
||||
);
|
||||
|
||||
console.log("stream", url);
|
||||
|
||||
setVideoSrc({
|
||||
uri: url,
|
||||
headers: {
|
||||
@@ -163,7 +161,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
|
||||
style={styles.backgroundVideo}
|
||||
/>
|
||||
{isLoading && <ActivityIndicator size="large" color="#0000ff" />}
|
||||
{!isLoading && <Header title="S8 E11 Rocky 8" />}
|
||||
{!isLoading && <Header title={data!.title} />}
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
||||
import { Image, View } from "react-native";
|
||||
|
||||
import Icon from "../../../assets/images/icon-transparent.png";
|
||||
|
Reference in New Issue
Block a user