Remove arbitrary delay when creating PDF

This commit is contained in:
William Brawner 2024-09-04 20:00:05 -06:00
parent 39958c5d9f
commit eb29dffbc1
Signed by: wbrawner
GPG key ID: 8FF12381C6C90D35

View file

@ -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 {