fix: activefilter live condition

This commit is contained in:
Cron1cle
2025-10-15 13:57:06 +02:00
parent a7a3d103f0
commit 38ac309925

View File

@@ -6,10 +6,10 @@ import { router } from "expo-router";
import React from "react"; import React from "react";
import { import {
ActivityIndicator, ActivityIndicator,
Image,
Text, Text,
TouchableOpacity, TouchableOpacity,
View, View,
Image,
} from "react-native"; } from "react-native";
import { import {
GestureHandlerRootView, GestureHandlerRootView,
@@ -108,21 +108,22 @@ export default function HomeScreen() {
<Text>ALLE</Text> <Text>ALLE</Text>
</TouchableOpacity> </TouchableOpacity>
)} )}
{activeFilter !== "live" && (
<TouchableOpacity <TouchableOpacity
style={{ style={{
padding: 2, padding: 2,
height: 50, height: 50,
width: 50, width: 50,
alignItems: "center", alignItems: "center",
justifyContent: "center", justifyContent: "center",
backgroundColor: "hsl(221, 39%, 80%)", backgroundColor: "hsl(221, 39%, 80%)",
borderRadius: 50, borderRadius: 50,
}} }}
onPress={() => handleFilter("live")} onPress={() => handleFilter("live")}
> >
<Text>LIVE</Text> <Text>LIVE</Text>
</TouchableOpacity> </TouchableOpacity>
)}
{uniqueStreamingServices.map((serviceName) => { {uniqueStreamingServices.map((serviceName) => {
const streamingService = const streamingService =