Skip to content

Commit

Permalink
fix Glide IllegalArgumentException in DrawerImageLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
connyduck committed Dec 23, 2023
1 parent 0f3f223 commit df18b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/keylesspalace/tusky/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ class MainActivity : BottomSheetActivity(), ActionButtonActivity, HasAndroidInje
}

override fun cancel(imageView: ImageView) {
Glide.with(imageView).clear(imageView)
// nothing to do, Glide already handles cancellation automatically
}

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

0 comments on commit df18b6c

Please sign in to comment.