Commit ab1a58a
fix(android): override RN edge-to-edge nav bar contrast enforcement
React Native 0.84's enableEdgeToEdge() sets isNavigationBarContrastEnforced
to true, causing a white scrim on the nav bar (visible on Xiaomi/HyperOS).
Override it after super.onCreate() to ensure transparent nav bar on all
build variants.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b44d5f3 commit ab1a58a
File tree
1 file changed
+11
-0
lines changed- wallets/rn_cli_wallet/android/app/src/main/java/com/walletconnect/web3wallet/rnsample
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
28 | 39 | | |
29 | 40 | | |
0 commit comments