We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 171d42d + eff2889 commit 2521a45Copy full SHA for 2521a45
app/src/main/java/dev/shorthouse/coinwatch/ui/screen/search/CoinSearchScreen.kt
@@ -1,5 +1,6 @@
1
package dev.shorthouse.coinwatch.ui.screen.search
2
3
+import androidx.activity.compose.BackHandler
4
import androidx.compose.foundation.layout.PaddingValues
5
import androidx.compose.foundation.layout.fillMaxSize
6
import androidx.compose.foundation.lazy.LazyColumn
@@ -200,6 +201,10 @@ fun CoinSearchContent(
200
201
LaunchedEffect(focusRequester) {
202
focusRequester.requestFocus()
203
}
204
+
205
+ BackHandler(enabled = true) {
206
+ onNavigateUp()
207
+ }
208
209
210
@Composable
0 commit comments