From 2901b9209d697297c737e22569eab4310d051d05 Mon Sep 17 00:00:00 2001 From: Kgothatso Ngako Date: Wed, 1 Apr 2026 16:37:20 +0200 Subject: [PATCH] Move advance search functionality to search results --- .../aux/compose/ui/composable/SearchResultScreen.kt | 12 ++++++++++++ .../ac/aux/compose/ui/composable/SearchScreen.kt | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchResultScreen.kt b/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchResultScreen.kt index 3c157d48..fa4c8a23 100644 --- a/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchResultScreen.kt +++ b/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchResultScreen.kt @@ -173,6 +173,18 @@ fun SearchResultScreen( ) } }, + trailingIcon = { + IconButton( + onClick = { + // TODO: Adjust search + } + ) { + Icon( + Icons.Default.Tune, + contentDescription = "Adjust Search" + ) + } + } ) }, expanded = expanded, diff --git a/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchScreen.kt b/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchScreen.kt index 6d059288..63c4213b 100644 --- a/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchScreen.kt +++ b/composeApp/src/commonMain/kotlin/ac/aux/compose/ui/composable/SearchScreen.kt @@ -232,18 +232,6 @@ fun SearchScreen( contentDescription = "Search" ) } - }, - trailingIcon = { - IconButton( - onClick = { - // TODO: Adjust search - } - ) { - Icon( - Icons.Default.Tune, - contentDescription = "Adjust Search" - ) - } } ) },