Commit e7c9b30
fix(call): always clear stale banners in alignment early-return paths
When the current device already matches the target, unconditionally clear
any stale fallback banner before optionally showing a recovery banner.
This handles the case where the user manually switched back via the picker
(which resets loggedUnavailableRef to null), leaving a stale banner visible.
clearBannersForDevice now bails out with the same state reference when
nothing matches, so the unconditional call is safe and loop-free.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 1612835 commit e7c9b30
1 file changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
384 | 385 | | |
385 | 386 | | |
386 | 387 | | |
387 | | - | |
388 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
389 | 392 | | |
390 | 393 | | |
391 | 394 | | |
| |||
0 commit comments