lint, fix tests
This commit is contained in:
@@ -579,85 +579,85 @@ describe('parseEmbedPlayerFromUrl', () => {
|
||||
},
|
||||
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
undefined,
|
||||
undefined,
|
||||
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
undefined,
|
||||
undefined,
|
||||
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
{
|
||||
type: 'giphy_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://i.giphy.com/media/gifId/giphy.gif',
|
||||
},
|
||||
|
||||
{
|
||||
type: 'tenor_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://media1.tenor.com/m/gifId/someName.gif',
|
||||
},
|
||||
undefined,
|
||||
undefined,
|
||||
|
||||
{
|
||||
type: 'tenor_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://tenor.com/view/gifId.gif',
|
||||
},
|
||||
undefined,
|
||||
undefined,
|
||||
{
|
||||
type: 'tenor_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://tenor.com/view/gifId.gif',
|
||||
},
|
||||
|
||||
{
|
||||
type: 'tenor_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://c.tenor.com/gifId/tenor.gif',
|
||||
},
|
||||
{
|
||||
type: 'tenor_gif',
|
||||
type: 'gif',
|
||||
playerUri: 'https://c.tenor.com/gifId/tenor.webp',
|
||||
},
|
||||
undefined,
|
||||
|
||||
@@ -201,9 +201,7 @@ export function ExternalPlayer({
|
||||
},
|
||||
styles.topRadius,
|
||||
]}
|
||||
source={{
|
||||
uri: link.thumb,
|
||||
}}
|
||||
source={{uri: link.thumb}}
|
||||
accessibilityIgnoresInvertColors
|
||||
/>
|
||||
)}
|
||||
@@ -240,10 +238,6 @@ const styles = StyleSheet.create({
|
||||
alignItems: 'center',
|
||||
backgroundColor: 'rgba(0,0,0,0.5)',
|
||||
},
|
||||
imageContainer: {
|
||||
width: '100%',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
overlayLayer: {
|
||||
zIndex: 2,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user