Skip to content

Commit

Permalink
fix: keep enforcing value to true
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Dec 2, 2024
1 parent 7255d82 commit 46c1f6d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/Screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export const InnerScreen = React.forwardRef<View, ScreenProps>(
navigationBarTranslucent,
statusBarColor,
statusBarTranslucent,
...edgeToEdgeProps
...edgeToEdgeFriendlyProps
} = props;

if (__DEV__) {
Expand Down Expand Up @@ -298,7 +298,13 @@ export const InnerScreen = React.forwardRef<View, ScreenProps>(
return (
<DelayedFreeze freeze={freezeOnBlur && activityState === 0}>
<AnimatedScreen
{...(EDGE_TO_EDGE ? edgeToEdgeProps : props)}
{...(EDGE_TO_EDGE
? {
...edgeToEdgeFriendlyProps,
navigationBarTranslucent: true,
statusBarTranslucent: true,
}
: props)}
/**
* This messy override is to conform NativeProps used by codegen and
* our Public API. To see reasoning go to this PR:
Expand Down

0 comments on commit 46c1f6d

Please sign in to comment.