diff --git a/src/components/metadata/SeriesContent.tsx b/src/components/metadata/SeriesContent.tsx index 56b15c0..639a63b 100644 --- a/src/components/metadata/SeriesContent.tsx +++ b/src/components/metadata/SeriesContent.tsx @@ -40,7 +40,7 @@ interface SeriesContentProps { // Add placeholder constant at the top const DEFAULT_PLACEHOLDER = 'https://via.placeholder.com/300x450/1a1a1a/666666?text=No+Image'; const EPISODE_PLACEHOLDER = 'https://via.placeholder.com/500x280/1a1a1a/666666?text=No+Preview'; - +const TMDB_LOGO = 'https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Tmdb.new.logo.svg/512px-Tmdb.new.logo.svg.png?20200406190906'; const SeriesContentComponent: React.FC = ({ episodes, @@ -1180,12 +1180,22 @@ const SeriesContentComponent: React.FC = ({ ) : ( <> + {effectiveVote.toFixed(1)} @@ -1426,12 +1436,22 @@ const SeriesContentComponent: React.FC = ({ ) : ( <> + {effectiveVote.toFixed(1)} @@ -1970,8 +1990,12 @@ const styles = StyleSheet.create({ alignItems: 'center', // chip background removed }, + tmdbLogo: { + width: 20, + height: 14, + }, ratingText: { - // color set dynamically or removed from here if unused + color: '#01b4e4', fontSize: 13, fontWeight: '700', marginLeft: 4, diff --git a/src/components/player/cards/EpisodeCard.tsx b/src/components/player/cards/EpisodeCard.tsx index 9ec49c2..2a91765 100644 --- a/src/components/player/cards/EpisodeCard.tsx +++ b/src/components/player/cards/EpisodeCard.tsx @@ -4,7 +4,7 @@ import FastImage from '@d11/react-native-fast-image'; import { MaterialIcons } from '@expo/vector-icons'; import { Episode } from '../../../types/metadata'; - +const TMDB_LOGO = 'https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Tmdb.new.logo.svg/512px-Tmdb.new.logo.svg.png?20200406190906'; const EPISODE_PLACEHOLDER = 'https://via.placeholder.com/500x280/1a1a1a/666666?text=No+Preview'; interface EpisodeCardProps { @@ -135,7 +135,12 @@ export const EpisodeCard: React.FC = ({ {effectiveVote > 0 && ( - + + {effectiveVote.toFixed(1)} @@ -229,7 +234,10 @@ const styles = StyleSheet.create({ flexDirection: 'row', alignItems: 'center', }, - + tmdbLogo: { + width: 20, + height: 14, + }, ratingText: { fontSize: 13, fontWeight: '700', diff --git a/src/screens/TraktSettingsScreen.tsx b/src/screens/TraktSettingsScreen.tsx index 86c4e3b..68c3c33 100644 --- a/src/screens/TraktSettingsScreen.tsx +++ b/src/screens/TraktSettingsScreen.tsx @@ -543,6 +543,9 @@ const TraktSettingsScreen: React.FC = () => { )} + + This product uses the Trakt API but is not endorsed or certified by Trakt. +