From 3028f7c4c12cb675bc2f02f2d1a670c821fd8d6b Mon Sep 17 00:00:00 2001 From: herrrta <73949927+herrrta@users.noreply.github.com> Date: Fri, 7 Feb 2025 21:53:28 -0500 Subject: [PATCH] dropdown menu seems to work on actual android tv device. hmmmm --- components/common/Dropdown.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/common/Dropdown.tsx b/components/common/Dropdown.tsx index 84418a92..e30ab0b3 100644 --- a/components/common/Dropdown.tsx +++ b/components/common/Dropdown.tsx @@ -1,5 +1,5 @@ -const DropdownMenu = !Platform.isTV ? require("zeego/dropdown-menu") : null; -import { Platform, TouchableOpacity, View, ViewProps } from "react-native"; +import * as DropdownMenu from "zeego/dropdown-menu"; +import { TouchableOpacity, View, ViewProps } from "react-native"; import { Text } from "@/components/common/Text"; import React, { PropsWithChildren, @@ -33,7 +33,6 @@ const Dropdown = ({ multi = false, ...props }: PropsWithChildren & ViewProps>) => { - if (Platform.isTV) return null; const [selected, setSelected] = useState(); useEffect(() => {