Skip to content

Commit

Permalink
again, small formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyScherzinger committed Jun 13, 2016
1 parent 6d7651e commit 82f9f33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/owncloud/android/ui/preview/ImageViewCustom.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected void onDraw(Canvas canvas) {
mMovieRunDuration = 0;
} else {
mMovieRunDuration += nowTick - mLastTick;
if(mMovieRunDuration > mMovieDuration){
if(mMovieRunDuration > mMovieDuration) {
mMovieRunDuration = 0;
}
}
Expand Down Expand Up @@ -98,7 +98,7 @@ private float getScaleToViewFactor(Movie movie, Canvas canvas) {

@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
if (mGifMovie == null){
if (mGifMovie == null) {
setMeasuredDimension(widthMeasureSpec, heightMeasureSpec);
} else {
setMeasuredDimension(mMovieWidth, mMovieHeight);
Expand Down

0 comments on commit 82f9f33

Please sign in to comment.