From 2ba7ffeb63d462007cea5f6db8bfac63575fa8dc Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 14 May 2017 12:56:20 +0200 Subject: [PATCH] remove a redundant code block --- .../com/simplemobiletools/gallery/fragments/PhotoFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 83088b02f..875ef6e1a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt @@ -83,7 +83,7 @@ class PhotoFragment : ViewPagerFragment() { } } - view.subsampling_view.apply { setOnClickListener({ photoClicked() }) } + view.subsampling_view.setOnClickListener({ photoClicked() }) view.photo_view.apply { maximumScale = 8f mediumScale = 3f