Skip to content

Commit

Permalink
Align HermesBadge to bottom to avoid overlap with status bar (faceboo…
Browse files Browse the repository at this point in the history
…k#47734)

Summary:
Pull Request resolved: facebook#47734

- With forced edge-to-edge on Android 15 targetSdk 35, `HermesBadge` overlaps with the top status bar.
- Move the location of the HermesBadge to align with bottom of the header so we can avoid UI overlap with minimal changes to the template.

Changelog: [Internal]

Reviewed By: cipolleschi

Differential Revision: D66183918

fbshipit-source-id: 6e9eff337660a133349a2813e9ee033a8d2b749e
  • Loading branch information
alanleedev authored and facebook-github-bot committed Nov 20, 2024
1 parent de82b15 commit 7733c33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const HermesBadge = (): Node => {
const styles = StyleSheet.create({
badge: {
position: 'absolute',
top: 8,
right: 12,
bottom: 8,
},
badgeText: {
fontSize: 14,
Expand Down

0 comments on commit 7733c33

Please sign in to comment.