Remove arbitrary delay when creating PDF
This commit is contained in:
parent
39958c5d9f
commit
eb29dffbc1
1 changed files with 0 additions and 1 deletions
|
@ -90,7 +90,6 @@ class MainActivity : ComponentActivity() {
|
|||
addButtonClicked = viewModel::requestScan,
|
||||
shareButtonClicked = {
|
||||
pdfShareJob = coroutineScope.launch {
|
||||
delay(10_000)
|
||||
val file = if (pages.size == 1) {
|
||||
pages.first().file ?: return@launch
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue