From eb29dffbc1924e6e5034e51231f0572f776cafad Mon Sep 17 00:00:00 2001 From: William Brawner Date: Wed, 4 Sep 2024 20:00:05 -0600 Subject: [PATCH] Remove arbitrary delay when creating PDF --- app/src/main/java/com/wbrawner/skerge/MainActivity.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/wbrawner/skerge/MainActivity.kt b/app/src/main/java/com/wbrawner/skerge/MainActivity.kt index 33c2d35..c344708 100644 --- a/app/src/main/java/com/wbrawner/skerge/MainActivity.kt +++ b/app/src/main/java/com/wbrawner/skerge/MainActivity.kt @@ -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 {