mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
fix codacy
This commit is contained in:
parent
3147a2c86a
commit
2bd7611a31
1 changed files with 1 additions and 2 deletions
|
@ -120,8 +120,7 @@ public class BitmapUtils {
|
|||
float scale = px / max;
|
||||
int w = Math.round(scale * width);
|
||||
int h = Math.round(scale * height);
|
||||
bitmap = Bitmap.createScaledBitmap(bitmap, w, h, true);
|
||||
return bitmap;
|
||||
return Bitmap.createScaledBitmap(bitmap, w, h, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue