Преглед изворни кода

fixed bug when images are not correctly specified by wordpress

yattoz пре 2 година
родитељ
комит
2981be83de
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
 // but without Picasso (just fetching image by myself.)
32
 // but without Picasso (just fetching image by myself.)
33
 class ImageGetterAsyncTask(
33
 class ImageGetterAsyncTask(
34
     private val context: Context,
34
     private val context: Context,
35
-    private val source: String,
35
+    private val source: String?,
36
     private val levelListDrawable: LevelListDrawable
36
     private val levelListDrawable: LevelListDrawable
37
 ) :
37
 ) :
38
     AsyncTask<TextView?, Void?, Bitmap?>() {
38
     AsyncTask<TextView?, Void?, Bitmap?>() {