-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It should clear the input array when we swipe right and are looking for apps, once you open the app the search bar should be clear so that you don't have to manually erase it and just better UI experience #258
Comments
I want to work on this issue , I think the function is already there in https://github.com/mslalith/focus_launcher/blob/main/core/ui/src/main/kotlin/dev/mslalith/focuslauncher/core/ui/SearchField.kt trailingIcon = {
|
Hey @MostlyKIGuess, you can clear the query by setting it to empty before launching the app Lines 75 to 78 in 134425a
|
I'd also like this feature. I tried to have a go but I'm not really good with jetpack-compose. Resetting when opening the app works like this:
But what I failed at achieving was, to empty the searchfield everytime you navigate away (e.g. by going to the homescreen) I created a PR for this :) |
@supermar1010 thanks for the PR. As for the other scenario, below is where we hide the keyboard on navigating away. You can reset here Lines 55 to 57 in 134425a
I'm planning on refactoring to stateless & stateful Composables. I would take care of this as part of refactoring |
Fixed in 9138520 |
oh cool, thanks, sorry I didn't update! |
Fixed in v0.8.0 |
No description provided.
The text was updated successfully, but these errors were encountered: