compose: search: Use scaffoldNavigator to navigateUp from details

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2025-08-22 16:41:56 +08:00
parent 7ecb142b3e
commit 4f7d744491

View File

@@ -214,8 +214,10 @@ private fun ScreenContent(
this != null -> { this != null -> {
AppDetailsScreen( AppDetailsScreen(
packageName = this, packageName = this,
onNavigateUp = ::closeDetailPane, onNavigateToAppDetails = { packageName -> showDetailPane(packageName) },
onNavigateToAppDetails = { packageName -> showDetailPane(packageName) } onNavigateUp = {
coroutineScope.launch { scaffoldNavigator.navigateBack() }
},
) )
} }