Commit 9ca6df8
committed
Reset toolbar nav CD on default toolbar and re-check fire dialog tag after suspend
applyDefaultToolbar now clears navigationContentDescription so the back arrow
doesn't keep announcing "Exit selection mode" to screen readers after leaving
select mode — that CD is only set by applySelectModeToolbar on the same toolbar
instance.
renderConfirmation re-checks the fragment tag after createFireDialog returns.
The outer tag check is synchronous, but createFireDialog is suspending, so two
near-simultaneous emissions could both pass the outer guard and race to show
the dialog under the same tag. The post-suspend check serialises on show().1 parent 0d9484c commit 9ca6df8
1 file changed
Lines changed: 2 additions & 0 deletions
File tree
- duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/history
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| 218 | + | |
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
| |||
0 commit comments