feat: enhance LoginModal with TV event handling and input focus management

This commit is contained in:
zimplexing
2025-07-15 22:33:11 +08:00
parent d44e9fe9ae
commit 0b1fa9df6d
4 changed files with 73 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ import { ThemedText } from "@/components/ThemedText";
import { api } from "@/services/api";
import VideoCard from "@/components/VideoCard.tv";
import { useFocusEffect, useRouter } from "expo-router";
import { Search, Settings, LogOut, Star } from "lucide-react-native";
import { Search, Settings, LogOut, Heart } from "lucide-react-native";
import { StyledButton } from "@/components/StyledButton";
import useHomeStore, { RowItem, Category } from "@/stores/homeStore";
import useAuthStore from "@/stores/authStore";
@@ -125,7 +125,7 @@ export default function HomeScreen() {
</View>
<View style={styles.rightHeaderButtons}>
<StyledButton style={styles.searchButton} onPress={() => router.push("/favorites")} variant="ghost">
<Star color={colorScheme === "dark" ? "white" : "black"} size={24} />
<Heart color={colorScheme === "dark" ? "white" : "black"} size={24} />
</StyledButton>
<StyledButton
style={styles.searchButton}