Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
@@ -148,6 +148,7 @@ class DocumentScanActivity : ToolbarActivity(), Injectable {
updateButtonsEnabled(false)
if (state.shouldRequestExportType) {
showExportDialog()
+ viewModel.onRequestTypeHandled()
}
@@ -95,8 +95,6 @@ class DocumentScanViewModel @Inject constructor(
val pageList = state.pageList.toMutableList()
pageList.add(newPath)
_uiState.postValue(UIState.NormalState(pageList))
- } else {
- // TODO