Searchbar: Launch on enter / done (#258)

* Search: add launch action on keyboard-done

* Add switch in settings

* :)

* fix dataStore-update, pull bestMatch from multiple sources

* launch searchAction when no other match is found

* update localization

* switch to .firstNotNullOfOrNull { }

* switch imeAction based on launchOnEnter == true

* localization

* adding highlighting for bestMatch

* Remove unused code

* Store hightlighted search result in viewmodel

* Add highlight for list item, tweak grid item highlight

* Highlight search action that is launched on enter

* localizaton

* switch to IconShape / hairline border

* remove border / outlineVariant-background

---------

Co-authored-by: MM20 <15646950+MM2-0@users.noreply.github.com>
This commit is contained in:
Christoph
2023-02-19 18:51:31 +01:00
committed by GitHub
co-authored by MM20
parent 72b42a1105
commit b11ba9e23a
27 changed files with 298 additions and 405 deletions
@@ -222,6 +222,7 @@ message Settings {
Dark = 2;
}
SearchBarColors color = 3;
bool launch_on_enter = 4;
}
SearchBarSettings search_bar = 20;