Skip to content

LGC-2026-06-16T154149

@joshliebe joshliebe tagged this 16 Jun 13:52
Task/Issue URL:
https://app.asana.com/1/137249556945/project/488551667048375/task/1215751567544070?focus=true
Tech Design URL (if applicable): 

### Description

- Fixes a bug where the last used mode was not remembered when opening
the input screen from NTP

### Steps to test this PR

_with the native input enabled and toggle behavior set to “Last Used"_
- [ ] Toggle to duck.ai and submit query
- [ ] Open a new tab and focus the input
- [ ] Verify that Duck.ai selected by default

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Low Risk**
> Single-parameter wiring fix on an existing launch path; no new APIs or
broad refactors.
> 
> **Overview**
> Fixes incorrect **last-used toggle** behavior when opening the input
screen from the omnibar on the new tab page.
> 
> When native input is disabled, omnibar launches now pass **`isNewTab =
(omnibar.viewMode == NewTab)`** into `launchInputScreen`, which forwards
the flag on `InputScreenActivityParams`. Previously this path always
used the default `isNewTab = false`, unlike the explicit
`Command.LaunchInputScreen` flow that already sets `isNewTab = true`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
1815f548d92f910d327c213da52e82ed7e43a611. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Assets 2
Loading