ZoomableActivity.kt: removed Unnecessary safe call on a non-null receiver of type ZoomableDraweeView

This commit is contained in:
Junwei Bai 2024-10-18 00:46:01 +11:00
parent a1ab724c74
commit 7d6081078f

View file

@ -234,7 +234,7 @@ class ZoomableActivity : BaseActivity() {
sharedPreferences.getBoolean(ImageHelper.SHOW_ALREADY_ACTIONED_IMAGES_PREFERENCE_KEY, true)
if (!images.isNullOrEmpty()) {
binding.zoomable!!.setOnTouchListener(
binding.zoomable.setOnTouchListener(
object : OnSwipeTouchListener(this) {
// Swipe left to view next image in the folder. (if available)
override fun onSwipeLeft() {