Skip to content

Commit

Permalink
- replace clear with dispose
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jun 24, 2022
1 parent 9107895 commit fd16212
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import android.graphics.drawable.Drawable
import android.net.Uri
import android.widget.ImageView
import androidx.multidex.MultiDexApplication
import coil.clear
import coil.dispose
import coil.load
import com.google.android.material.color.DynamicColors
import com.mikepenz.iconics.Iconics
Expand Down Expand Up @@ -50,7 +50,7 @@ class CustomApplication : MultiDexApplication() {
}

override fun cancel(imageView: ImageView) {
imageView.clear()
imageView.dispose()
}

override fun placeholder(ctx: Context, tag: String?): Drawable {
Expand Down

0 comments on commit fd16212

Please sign in to comment.