update theme dark, light mode
This commit is contained in:
@@ -5,19 +5,18 @@ import CrewListTable from "@/components/tripInfo/CrewListTable";
|
||||
import FishingToolsTable from "@/components/tripInfo/FishingToolsList";
|
||||
import NetListTable from "@/components/tripInfo/NetListTable";
|
||||
import TripCostTable from "@/components/tripInfo/TripCostTable";
|
||||
import { useThemeContext } from "@/hooks/use-theme-context";
|
||||
import { Platform, ScrollView, StyleSheet, Text, View } from "react-native";
|
||||
import { SafeAreaView } from "react-native-safe-area-context";
|
||||
|
||||
export default function TripInfoScreen() {
|
||||
// const { trip, getTrip } = useTrip();
|
||||
// useEffect(() => {
|
||||
// getTrip();
|
||||
// }, []);
|
||||
|
||||
const { colors } = useThemeContext();
|
||||
return (
|
||||
<SafeAreaView style={styles.safeArea} edges={["top", "left", "right"]}>
|
||||
<View style={styles.header}>
|
||||
<Text style={styles.titleText}>Thông Tin Chuyến Đi</Text>
|
||||
<Text style={[styles.titleText, { color: colors.text }]}>
|
||||
Thông Tin Chuyến Đi
|
||||
</Text>
|
||||
<View style={styles.buttonWrapper}>
|
||||
<ButtonCreateNewHaulOrTrip />
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user