import { Stack } from "expo-router";
import React from "react";
import { useTranslation } from "react-i18next";
import { ScrollView, StyleSheet, View } from "react-native";
import { ThemedText } from "@/components/themed-text";
import { useTheme } from "@/context/ThemeContext";
export default function PrivacyScreen() {
const { theme } = useTheme();
const { t } = useTranslation();
const isDark = theme === "dark";
return (
<>
{t("privacy.page_title")}
{t("privacy.section1_title")}
{t("privacy.section1_text")}
{t("privacy.section2_title")}
{t("privacy.section2_text")}
{t("privacy.section3_title")}
{t("privacy.section3_text")}
{t("privacy.section4_title")}
{t("privacy.section4_text")}
{t("privacy.section5_title")}
{t("privacy.section5_text")}
{t("privacy.section6_title")}
{t("privacy.section6_text")}
{t("privacy.last_updated")}
>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
},
content: {
margin: 16,
padding: 20,
borderRadius: 12, // 稍微增加圆角,更现代
marginBottom: 40, // 底部留白
},
title: {
fontSize: 24,
fontWeight: "bold",
marginBottom: 8,
},
sectionTitle: {
fontSize: 18,
fontWeight: "700",
marginTop: 24,
marginBottom: 10,
},
text: {
fontSize: 15,
lineHeight: 22,
opacity: 0.9,
},
updateText: {
fontSize: 13,
opacity: 0.5,
marginTop: 32,
textAlign: "center",
},
});