use cast button rather than feather icon for casting

This commit is contained in:
jakequade
2024-10-11 17:24:12 +11:00
parent b73a33b05b
commit 3f5ce6dc43
6 changed files with 29 additions and 80 deletions

View File

@@ -10,6 +10,7 @@ import { useAtom } from "jotai";
import { useEffect, useMemo } from "react";
import { Linking, TouchableOpacity, View } from "react-native";
import CastContext, {
CastButton,
PlayServicesState,
useMediaStatus,
useRemoteMediaClient,
@@ -318,6 +319,7 @@ export const PlayButton: React.FC<Props> = ({ item, url, ...props }) => {
{client && (
<Animated.Text style={animatedTextStyle}>
<Feather name="cast" size={22} />
<CastButton tintColor="transparent" />
</Animated.Text>
)}
{!client && settings?.openInVLC && (