Skip to content

Commit

Permalink
Bump more versions
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBoulongne committed May 28, 2024
1 parent 6ce608d commit 414b279
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dependencies {
ksp "androidx.room:room-compiler:$roomVersion"

api 'com.google.android.material:material:1.12.0'
api 'com.google.code.gson:gson:2.10.1'
api 'com.google.code.gson:gson:2.11.0'

def coilVersion = '2.6.0'
api "io.coil-kt:coil-gif:$coilVersion"
Expand All @@ -94,5 +94,5 @@ dependencies {
testImplementation 'androidx.test.ext:junit:1.1.5'
testImplementation 'androidx.test:core-ktx:1.5.0'
testImplementation 'androidx.test:core:1.5.0'
testImplementation 'org.robolectric:robolectric:4.12'
testImplementation 'org.robolectric:robolectric:4.12.2'
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fun Uri.calculateFileSize(contentResolver: ContentResolver): Long? {
return runCatching {
contentResolver.openInputStream(this)?.use { inputStream ->
var currentSize: Int
val byteArray = ByteArray(8192) // 8 Ko
val byteArray = ByteArray(8_192) // 8 Ko
var fileSize = 0L
while (inputStream.read(byteArray).also { currentSize = it } != -1) {
fileSize += currentSize
Expand Down

0 comments on commit 414b279

Please sign in to comment.