From f67698e4fde34c2a097020015f85d1ca1babb166 Mon Sep 17 00:00:00 2001 From: tapframe <85391825+tapframe@users.noreply.github.com> Date: Wed, 15 Apr 2026 17:45:38 +0530 Subject: [PATCH] feat: add back navigation handler to FolderEditorPage --- .../nuvio/app/features/collection/CollectionEditorScreen.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/CollectionEditorScreen.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/CollectionEditorScreen.kt index f71cbfac..8d0f310c 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/CollectionEditorScreen.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/collection/CollectionEditorScreen.kt @@ -45,6 +45,7 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.collectAsState import androidx.compose.runtime.getValue +import androidx.activity.compose.BackHandler import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip @@ -505,6 +506,10 @@ private fun FolderEditorPage( val folder = state.editingFolder ?: return val bottomInset = nuvioPlatformExtraBottomPadding + BackHandler { + onBack() + } + Box(modifier = Modifier.fillMaxSize()) { NuvioScreen(modifier = Modifier.fillMaxSize()) { stickyHeader {