use the default Glide caching at loading widget previews
This commit is contained in:
parent
434d79d46f
commit
14545f9296
|
@ -6,7 +6,6 @@ import android.view.ViewGroup
|
|||
import android.widget.RelativeLayout
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import com.bumptech.glide.Glide
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||
import com.simplemobiletools.commons.extensions.getProperTextColor
|
||||
import com.simplemobiletools.commons.extensions.toast
|
||||
import com.simplemobiletools.launcher.R
|
||||
|
@ -100,7 +99,6 @@ class WidgetsAdapter(
|
|||
|
||||
Glide.with(activity)
|
||||
.load(widget.widgetPreviewImage)
|
||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||
.into(widgetPreview.widget_image)
|
||||
|
||||
widgetPreview.setOnClickListener {
|
||||
|
|
Loading…
Reference in New Issue