Skip to content

Commit

Permalink
chore: fix tvOS UI
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandkakonyi committed Nov 24, 2023
1 parent 9764276 commit 1d2d6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/src/screens/BasicPictureInPicture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function BasicPictureInPicture({

return (
<SafeAreaView
edges={['bottom', 'left', 'right']}
edges={Platform.isTV ? [] : ['bottom', 'left', 'right']}
style={
// On Android, we need to remove the padding from the container when in PiP mode.
Platform.OS === 'android' && isInPictureInPicture
Expand Down Expand Up @@ -147,7 +147,7 @@ const styles = StyleSheet.create({
alignItems: 'center',
justifyContent: 'center',
backgroundColor: 'white',
padding: 10,
padding: Platform.isTV ? 0 : 10,
},
player: {
flex: 1,
Expand Down

0 comments on commit 1d2d6c0

Please sign in to comment.