You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Store previous leading icon state to preserve Easter egg logos on focus change
When the omnibar gains focus, the leading icon changes to Search. Previously,
if an Easter egg logo was displayed, it would be lost when focus was regained
because the logic only checked the current leading icon state (which was Search).
Changes:
- Added previousLeadingIconState field to ViewState to store icon state before focus
- Store current leading icon state when gaining focus
- Use previous state (instead of current) when losing focus to restore Easter egg logos
- Clear previous state after restoration to avoid memory retention
This ensures Easter egg logos persist correctly through focus changes.
0 commit comments