From d0557cf6537ea4a847ca68dab01763432b6629d8 Mon Sep 17 00:00:00 2001 From: davidoskky Date: Tue, 22 Dec 2020 00:47:16 +0100 Subject: [PATCH] Removed debugging logging. --- .../amine/bou/readerforselfoss/api/selfoss/SelfossModels.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/api/selfoss/SelfossModels.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/api/selfoss/SelfossModels.kt index b11e475..516c78f 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/api/selfoss/SelfossModels.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/api/selfoss/SelfossModels.kt @@ -5,7 +5,6 @@ import android.net.Uri import android.os.Parcel import android.os.Parcelable import android.text.Html -import android.util.Log import android.webkit.URLUtil import org.jsoup.Jsoup @@ -145,20 +144,17 @@ data class Item( fun preloadImages(context: Context) : Boolean { val imageUrls = this.getImages() - Log.d("Carica", "Caricando immagini") val glideOptions = RequestOptions.diskCacheStrategyOf(DiskCacheStrategy.ALL) try { for (url in imageUrls) { - Log.d("Carica", url) if ( URLUtil.isValidUrl(url)) { val image = Glide.with(context).asBitmap() .apply(glideOptions) .load(url).submit().get() } - Log.d("Carica", "Immagine presa") } } catch (e : Error) { return false