feat: Refactor settings management into a dedicated page with new configuration options

This commit is contained in:
zimplexing
2025-07-11 13:49:45 +08:00
parent 7b3fd4b9d5
commit fc8da352fb
13 changed files with 596 additions and 157 deletions

View File

@@ -0,0 +1,37 @@
import React from "react";
import { StyleSheet } from "react-native";
import { ThemedText } from "@/components/ThemedText";
import { ThemedView } from "@/components/ThemedView";
interface PlaybackSourceSectionProps {
onChanged: () => void;
}
export const PlaySourceSection: React.FC<PlaybackSourceSectionProps> = ({ onChanged }) => {
return (
<ThemedView style={styles.section}>
<ThemedText style={styles.sectionTitle}></ThemedText>
<ThemedText style={styles.placeholder}>线</ThemedText>
</ThemedView>
);
};
const styles = StyleSheet.create({
section: {
padding: 20,
marginBottom: 16,
borderRadius: 12,
borderWidth: 1,
borderColor: "#333",
},
sectionTitle: {
fontSize: 20,
fontWeight: "bold",
marginBottom: 16,
},
placeholder: {
fontSize: 14,
color: "#888",
fontStyle: "italic",
},
});