Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
mutkuensert committed Mar 11, 2024
1 parent 2c7cba8 commit 34c54db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion BitmapCompression/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ afterEvaluate {
from(components["release"])
groupId = "com.github.mutkuensert"
artifactId = "bitmapcompression"
version = "2.1"
version = "2.1.1"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class BitmapCompression(
width: Int
): Bitmap {
if (width >= bitmap.width) {
Log.i(TAG, "Argument $width is already bigger than or equal to ${bitmap.width}")
Log.i(TAG, "Argument $width is already bigger than or equals to ${bitmap.width}")
return bitmap
}

Expand Down Expand Up @@ -132,7 +132,7 @@ class BitmapCompression(
height: Int
): Bitmap {
if (height >= bitmap.height) {
Log.i(TAG, "Argument $height is already bigger than or equal to ${bitmap.height}")
Log.i(TAG, "Argument $height is already bigger than or equals to ${bitmap.height}")
return bitmap
}

Expand All @@ -145,7 +145,7 @@ class BitmapCompression(

/**
* @throws SizeException If compression and scaling down processes can't reduce the file
* size under the limit with current configuration.
* size under the limit within current configuration.
*/
fun compressAndScaleDown() {
if (file.length() <= sizeLimitBytes) {
Expand Down

0 comments on commit 34c54db

Please sign in to comment.