Commit 0ddfa64
committed
fix: replace HOME instead of pushing when navigating to Settings RHP
when navigating from HOME to an RHP that maps to a different
fullscreen (e.g. Settings Wallet), replace HOME with the matching
fullscreen instead of pushing on top.
pushing creates [HOME, SETTINGS_SPLIT_NAVIGATOR, RHP] which causes
Android to trim HOME from the render tree, producing wrong back
animation (#85122). the original fix in #87128 added a blanket guard
in shouldChangeToMatchingFullScreen that returned false for HOME,
which broke Add address navigation (#87655).
replacing HOME matches the reload state shape [SETTINGS, RHP] and
fixes both issues: correct back animation AND working navigation.
removes the blanket guard in shouldChangeToMatchingFullScreen so the
replace path can run.1 parent fb1ed57 commit 0ddfa64
1 file changed
Lines changed: 9 additions & 10 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | 97 | | |
104 | 98 | | |
105 | 99 | | |
| |||
174 | 168 | | |
175 | 169 | | |
176 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
177 | 176 | | |
178 | | - | |
| 177 | + | |
179 | 178 | | |
180 | 179 | | |
181 | | - | |
| 180 | + | |
182 | 181 | | |
183 | 182 | | |
184 | | - | |
185 | | - | |
| 183 | + | |
| 184 | + | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
0 commit comments