remove a redundant check

This commit is contained in:
tibbi 2018-06-16 23:33:14 +02:00
parent df9461a81b
commit d2bac07abb
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class PhotoFragment : ViewPagerFragment() {
}
private fun addZoomableView() {
if (!context!!.config.replaceZoomableImages && medium.isImage() && isFragmentVisible && view.subsampling_view.isGone() && !medium.isRaw()) {
if (!context!!.config.replaceZoomableImages && medium.isImage() && isFragmentVisible && view.subsampling_view.isGone()) {
ViewPagerActivity.wasDecodedByGlide = false
view.subsampling_view.apply {
maxScale = 10f