Restore back button in CameraScreen and DocumentScreen (fix #74)

It was removed by mistake in 7c9267a
This commit is contained in:
Pierre-Yves Nicolas
2025-12-05 06:24:19 +01:00
parent 4a3a1f700f
commit 3a9cc642c7
2 changed files with 2 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ fun DocumentScreen(
currentPageIndex = currentPageIndex.intValue,
listState = listState,
),
onBack = navigation.back,
bottomBar = {
BottomBar(navigation)
},

View File

@@ -223,6 +223,7 @@ private fun CameraScreenScaffold(
MyScaffold(
navigation = navigation,
pageListState = pageListState,
onBack = navigation.back,
bottomBar = { Bar(cameraUiState.pageCount, onFinalizePressed) }
) { modifier ->
CameraPreviewBox(