Skip to content

Commit

Permalink
Fix status bar color mismatch in landscape mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashwave authored and burnerlee committed Nov 28, 2024
1 parent 15b5130 commit 246c7b2
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/common/ZulipStatusBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@ export default function ZulipStatusBar(props: Props): Node {
const statusBarColor = getStatusBarColor(backgroundColor, themeToUse);

return (
orientation === 'PORTRAIT' && (
<StatusBar
animated
showHideTransition="slide"
hidden={hidden && Platform.OS !== 'android'}
backgroundColor={Color(statusBarColor).darken(0.1).hsl().string()}
barStyle={getStatusBarStyle(statusBarColor)}
/>
)
<StatusBar
animated
showHideTransition="slide"
hidden={hidden && Platform.OS !== 'android'}
backgroundColor={Color(statusBarColor).darken(0.1).hsl().string()}
barStyle={getStatusBarStyle(statusBarColor)}
translucent={true}

Check failure on line 64 in src/common/ZulipStatusBar.js

View workflow job for this annotation

GitHub Actions / test

Value must be omitted for boolean attribute `translucent`

Check failure on line 64 in src/common/ZulipStatusBar.js

View workflow job for this annotation

GitHub Actions / test

Value must be omitted for boolean attribute `translucent`
/>
);
}
}

Check failure on line 67 in src/common/ZulipStatusBar.js

View workflow job for this annotation

GitHub Actions / test

Newline required at end of file but not found

Check failure on line 67 in src/common/ZulipStatusBar.js

View workflow job for this annotation

GitHub Actions / test

Newline required at end of file but not found

0 comments on commit 246c7b2

Please sign in to comment.