Comments (7)
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 = {
AnimatedVisibility(visible = query.isNotEmpty()) {
Box(
modifier = Modifier
.clip(shape = CircleShape)
.clickable { onQueryChange("") }
.padding(all = 4.dp)
) {
Icon(
painter = painterResource(id = R.drawable.ic_close),
contentDescription = stringResource(id = R.string.clear)
)
but it's not emptying the string on query, can anyone guide me through it?
from focus_launcher.
Hey @MostlyKIGuess, you can clear the query by setting it to empty before launching the app
from focus_launcher.
Related Issues (20)
- copycat HOT 2
- feat: Provide time spent on each apps
- chore: Migrate Hilt to KSP
- Reverse favourites order
- Native Android widget support HOT 1
- Quickswitch recents integration HOT 2
- Bug: app is missing from list HOT 1
- bug: search bar doesn't empty when disabled HOT 1
- bug: keyboard doesn't disappear when exiting search page HOT 1
- enhancement: tap clock to open clock app HOT 1
- enhancement: swipe up to open web search
- issue: bad contrast with favourites HOT 1
- Feature: Use the similar text-only icons from favorites in app drawer HOT 6
- Favorites/Hide apps HOT 2
- Favorites HOT 9
- Update Display Name HOT 1
- enhancement: drag and drop favourites
- Amoled Black Theme
- Enhancement: Lock Settings with Passcode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from focus_launcher.