mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-04 03:36:29 +08:00
- Introduced a .prettierrc file to standardize code formatting. - Updated import statements and JSX attributes in NotFoundScreen, HomeScreen, PlayScreen, and PlayerControls for consistent use of double quotes. - Refactored styles in various components to use double quotes for string values. - Added SeekingBar component to enhance video playback experience.
34 lines
819 B
TypeScript
34 lines
819 B
TypeScript
import { Link, Stack } from "expo-router";
|
|
import { StyleSheet } from "react-native";
|
|
|
|
import { ThemedText } from "@/components/ThemedText";
|
|
import { ThemedView } from "@/components/ThemedView";
|
|
import React from "react";
|
|
|
|
export default function NotFoundScreen() {
|
|
return (
|
|
<>
|
|
<Stack.Screen options={{ title: "Oops!" }} />
|
|
<ThemedView style={styles.container}>
|
|
<ThemedText type="title">This screen doesn't exist.</ThemedText>
|
|
<Link href="/" style={styles.link}>
|
|
<ThemedText type="link">Go to home screen!</ThemedText>
|
|
</Link>
|
|
</ThemedView>
|
|
</>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
padding: 20,
|
|
},
|
|
link: {
|
|
marginTop: 15,
|
|
paddingVertical: 15,
|
|
},
|
|
});
|