瀏覽代碼

fixed bug when images are not correctly specified by wordpress

yattoz 2 年之前
父節點
當前提交
acb57a9b35
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsAdapter.kt

+ 1 - 1
app/src/main/java/fr/forum_thalie/tsumugi/ui/news/NewsAdapter.kt 查看文件

@@ -32,7 +32,7 @@ import java.util.*
32 32
 // but without Picasso (just fetching image by myself.)
33 33
 class ImageGetterAsyncTask(
34 34
     private val context: Context,
35
-    private val source: String,
35
+    private val source: String?,
36 36
     private val levelListDrawable: LevelListDrawable
37 37
 ) :
38 38
     AsyncTask<TextView?, Void?, Bitmap?>() {