We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df3d358 commit 844ca3aCopy full SHA for 844ca3a
app/src/main/java/com/into/websoso/core/common/util/ImageCompressor.kt
@@ -23,7 +23,7 @@ class ImageCompressor
23
uris: List<Uri>,
24
size: Double = DEFAULT_MAX_IMAGE_SIZE,
25
): List<Uri> =
26
- withContext(Dispatchers.IO) {
+ withContext(Dispatchers.Default) {
27
uris.mapNotNull { uri ->
28
runCatching {
29
val inputStream = context.contentResolver.openInputStream(uri)
0 commit comments