diff options
| author | 2023-03-10 14:19:14 +0800 | |
|---|---|---|
| committer | 2023-03-13 06:48:54 +0000 | |
| commit | 104ce7a84640ea469a426bbcc12454d21e4fcbd6 (patch) | |
| tree | c862e957a4dc62184d2f7ad4cdcb9b64a5ce887e /api/api.go | |
| parent | 3d1b8b9a3f4932b2647feab621cbd932f332b1d1 (diff) | |
Fix SearchScaffold navigation back arrow
The issue is when search mode is on, cannot click navigation back arrow
to close the search mode.
The issue is caused by when navigation back arrow is clicked, it dismiss
the input method, which will call onSearchQueryChange again to reset the
search query and re-enter the search mode.
Split the isSearchMode from searchQuery to fix this issue.
Fix: 272574692
Test: Manually with Settings
Test: Unit test
Change-Id: Id2bcc643c8c85e57a543221a6951b00c11ae955a
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions