File tree 2 files changed +3
-2
lines changed
load-the-image/src/main/java/com/lt/load_the_image/loader
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ open class FileLoadTheImage : LoadTheImage {
63
63
try {
64
64
LoadTheImageManager .painterCreator.createImageBitmap(byteArray)
65
65
} catch (e: Exception ) {
66
- e.printStackTrace ()
66
+ e.println ()
67
67
LoadTheImageManager .createErrorImageBitmap(data)
68
68
}
69
69
}
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import androidx.compose.ui.graphics.painter.Painter
23
23
import androidx.compose.ui.res.loadImageBitmap
24
24
import com.lt.load_the_image.LoadTheImageManager
25
25
import com.lt.load_the_image.painter.AsyncImagePainter
26
+ import com.lt.load_the_image.util.println
26
27
import kotlinx.coroutines.Dispatchers
27
28
import kotlinx.coroutines.withContext
28
29
import java.io.InputStream
@@ -48,7 +49,7 @@ class InputStreamLoadTheImage : LoadTheImage {
48
49
try {
49
50
inputStream.close()
50
51
} catch (e: Exception ) {
51
- e.printStackTrace ()
52
+ e.println ()
52
53
}
53
54
painter.imageBitmap.value = imageBitmap
54
55
}
You can’t perform that action at this time.
0 commit comments