From 9cabc09e4fc14168ceee344d7d386924e825662a Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 12 Dec 2016 23:01:50 +0100 Subject: [PATCH] small photofragment update --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt index 11dd0883c..fccb577c5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -9,9 +9,9 @@ import com.bumptech.glide.Glide import com.bumptech.glide.load.engine.DiskCacheStrategy import com.davemorrissey.labs.subscaleview.ImageSource import com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView -import com.simplemobiletools.gallery.helpers.MEDIUM import com.simplemobiletools.gallery.R import com.simplemobiletools.gallery.extensions.getRealPathFromURI +import com.simplemobiletools.gallery.helpers.MEDIUM import com.simplemobiletools.gallery.models.Medium import kotlinx.android.synthetic.main.pager_photo_item.view.* @@ -32,7 +32,7 @@ class PhotoFragment : ViewPagerFragment(), View.OnClickListener { view.gif_view.apply { visibility = View.VISIBLE Glide.with(context).load(medium.path).asGif().diskCacheStrategy(DiskCacheStrategy.NONE).into(this) - this.setOnClickListener(this@PhotoFragment) + setOnClickListener(this@PhotoFragment) } } else { subsamplingView.apply {