1
0
mirror of https://github.com/fumiama/copymanga.git synced 2026-06-09 09:43:11 +08:00

2.0.beta14

1. 完善设置
2. 增加登陆
3. 增加浏览历史页面
4. 修复一些闪退
This commit is contained in:
源文雨
2022-10-18 16:53:00 +08:00
parent cb5e730eae
commit 282ef14385

View File

@@ -358,8 +358,10 @@ class ViewMangaActivity : TitleActivityTemplate() {
if (re != null) Thread{
val data = re.get()
if(data != null) {
loadImg(imgView, BitmapFactory.decodeByteArray(data, 0, data.size), isLast, useCut, isLeft)
Log.d("MyVM", "Load from task")
BitmapFactory.decodeByteArray(data, 0, data.size)?.let {
loadImg(imgView, it, isLast, useCut, isLeft)
Log.d("MyVM", "Load from task")
}?:Log.d("MyVM", "null bitmap")
}
else getImgUrl(index2load)?.let { loadImgUrlInto(imgView, it, isLast, useCut, isLeft) }
}.start()