Skip to content

Commit 844ca3a

Browse files
committed
refactor: 이미지 압축시 사용하는 Dispatchers 변경
1 parent df3d358 commit 844ca3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/into/websoso/core/common/util/ImageCompressor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ImageCompressor
2323
uris: List<Uri>,
2424
size: Double = DEFAULT_MAX_IMAGE_SIZE,
2525
): List<Uri> =
26-
withContext(Dispatchers.IO) {
26+
withContext(Dispatchers.Default) {
2727
uris.mapNotNull { uri ->
2828
runCatching {
2929
val inputStream = context.contentResolver.openInputStream(uri)

0 commit comments

Comments
 (0)