use the default Glide caching at loading widget previews

This commit is contained in:
tibbi 2022-09-25 21:45:45 +02:00
parent 434d79d46f
commit 14545f9296
1 changed files with 0 additions and 2 deletions

View File

@ -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 {