Merge pull request #2545 from nextcloud/ortiztouch-switchbug

ortiz.touch: End switch case with an unconditional break.
This commit is contained in:
Andy Scherzinger 2018-05-04 16:51:24 +02:00 committed by GitHub
commit 6047604ad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -572,6 +572,7 @@ public class TouchImageView extends AppCompatImageView {
case CENTER_INSIDE:
scaleX = scaleY = Math.min(1, Math.min(scaleX, scaleY));
break;
case FIT_CENTER:
scaleX = scaleY = Math.min(scaleX, scaleY);