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,
|
||||
listState = listState,
|
||||
),
|
||||
onBack = navigation.back,
|
||||
bottomBar = {
|
||||
BottomBar(navigation)
|
||||
},
|
||||
|
||||
@@ -223,6 +223,7 @@ private fun CameraScreenScaffold(
|
||||
MyScaffold(
|
||||
navigation = navigation,
|
||||
pageListState = pageListState,
|
||||
onBack = navigation.back,
|
||||
bottomBar = { Bar(cameraUiState.pageCount, onFinalizePressed) }
|
||||
) { modifier ->
|
||||
CameraPreviewBox(
|
||||
|
||||
Reference in New Issue
Block a user