Commit 1d677d6
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). but the original fix (blocking the fullscreen
change entirely) broke Add address navigation (#87655).
replacing HOME matches the reload state shape [SETTINGS, RHP] and
fixes both issues: correct back animation AND working navigation.1 parent 647e27e commit 1d677d6
1 file changed
Lines changed: 11 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | | - | |
| 177 | + | |
173 | 178 | | |
174 | 179 | | |
175 | | - | |
| 180 | + | |
176 | 181 | | |
177 | 182 | | |
178 | | - | |
179 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| |||
0 commit comments