Restore back button in CameraScreen and DocumentScreen (fix #74)
It was removed by mistake in 7c9267a
This commit is contained in:
@@ -103,6 +103,7 @@ fun DocumentScreen(
|
|||||||
currentPageIndex = currentPageIndex.intValue,
|
currentPageIndex = currentPageIndex.intValue,
|
||||||
listState = listState,
|
listState = listState,
|
||||||
),
|
),
|
||||||
|
onBack = navigation.back,
|
||||||
bottomBar = {
|
bottomBar = {
|
||||||
BottomBar(navigation)
|
BottomBar(navigation)
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -223,6 +223,7 @@ private fun CameraScreenScaffold(
|
|||||||
MyScaffold(
|
MyScaffold(
|
||||||
navigation = navigation,
|
navigation = navigation,
|
||||||
pageListState = pageListState,
|
pageListState = pageListState,
|
||||||
|
onBack = navigation.back,
|
||||||
bottomBar = { Bar(cameraUiState.pageCount, onFinalizePressed) }
|
bottomBar = { Bar(cameraUiState.pageCount, onFinalizePressed) }
|
||||||
) { modifier ->
|
) { modifier ->
|
||||||
CameraPreviewBox(
|
CameraPreviewBox(
|
||||||
|
|||||||
Reference in New Issue
Block a user