Skip to content

Commit

Permalink
107-ui-controls - small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
LunatiqueCoder committed Aug 10, 2024
1 parent 34a35a9 commit bcf2abd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions packages/media-console/src/components/PlayPause/PlayPause.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const PlayPause = ({
onPress={onPressRewind}
resetControlTimeout={resetControlTimeout}
>
<Image source={rewind} resizeMode={'contain'} style={styles.rewind} />
<Image source={rewind} resizeMode={'contain'} />
</Control>
) : null}

Expand All @@ -82,11 +82,7 @@ export const PlayPause = ({
onPress={onPressForward}
resetControlTimeout={resetControlTimeout}
>
<Image
source={forward}
resizeMode={'contain'}
style={styles.rewind}
/>
<Image source={forward} resizeMode={'contain'} />
</Control>
) : null}
</AnimatedView>
Expand Down
1 change: 0 additions & 1 deletion packages/media-console/src/components/PlayPause/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ export const styles = StyleSheet.create({
play: {
alignItems: 'center',
},
rewind: {},
});

0 comments on commit bcf2abd

Please sign in to comment.