diff --git a/src/components/StreamCard.tsx b/src/components/StreamCard.tsx index 0a1f1a80..2040c4fc 100644 --- a/src/components/StreamCard.tsx +++ b/src/components/StreamCard.tsx @@ -7,6 +7,7 @@ import { ActivityIndicator, Platform, Clipboard, + Image, } from 'react-native'; import { MaterialIcons } from '@expo/vector-icons'; import FastImage from '@d11/react-native-fast-image'; @@ -190,11 +191,19 @@ const StreamCard = memo(({ {/* Scraper Logo */} {showLogos && scraperLogo && ( - + {scraperLogo.toLowerCase().endsWith('.svg') || scraperLogo.toLowerCase().includes('.svg?') ? ( + + ) : ( + + )} )} diff --git a/src/screens/PluginsScreen.tsx b/src/screens/PluginsScreen.tsx index cafd48ac..4e90c75d 100644 --- a/src/screens/PluginsScreen.tsx +++ b/src/screens/PluginsScreen.tsx @@ -14,6 +14,7 @@ import { Modal, Dimensions, Animated, + Image, } from 'react-native'; import CustomAlert from '../components/CustomAlert'; import FastImage from '@d11/react-native-fast-image'; @@ -1619,11 +1620,19 @@ const PluginsScreen: React.FC = () => { {scraper.logo ? ( - + (scraper.logo.toLowerCase().endsWith('.svg') || scraper.logo.toLowerCase().includes('.svg?')) ? ( + + ) : ( + + ) ) : ( )}