Merge pull request #444 from chrisk325/patch-11

fix imdb logo not appearing while using mdblist
This commit is contained in:
Nayif 2026-01-28 20:14:07 +05:30 committed by GitHub
commit fc2ff910e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ const BREAKPOINTS = {
tv: 1440,
};
const IMDb_LOGO = 'https://upload.wikimedia.org/wikipedia/commons/thumb/6/69/IMDB_Logo_2016.svg/575px-IMDB_Logo_2016.svg.png';
const IMDb_LOGO = 'https://upload.wikimedia.org/wikipedia/commons/6/69/IMDB_Logo_2016.svg';
export const RATING_PROVIDERS = {
imdb: {
@ -163,7 +163,7 @@ export const RatingsSection: React.FC<RatingsSectionProps> = ({ imdbId, type })
imdb: {
name: 'IMDb',
icon: { uri: IMDb_LOGO },
isImage: true,
isImage: false,
color: '#F5C518',
transform: (value: number) => value.toFixed(1)
},
@ -311,4 +311,4 @@ const styles = StyleSheet.create({
fontSize: 14,
fontWeight: '600',
},
});
});