Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaushkin committed Jul 29, 2022
1 parent 379aa1d commit 82602da
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ buildscript {
],
android: [
appcompat : '1.1.0',
annotation : '1.1.0',
exifinterface : '1.0.0'
annotation : '1.4.0',
exifinterface : '1.3.3'
],
rx : [
rxJava1: '1.3.8',
rxJava2: '2.2.12'
],
test : [
junit : '4.12',
mockito: '2.23.0'
junit : '4.13.2',
mockito: '3.9.0'
]
]
}
Expand Down
2 changes: 1 addition & 1 deletion fotoapparat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
implementation "androidx.annotation:annotation:${versions.android.annotation}"
implementation "androidx.exifinterface:exifinterface:${versions.android.exifinterface}"
implementation "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1'
testImplementation "junit:junit:${versions.test.junit}"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:${versions.kotlin}"
testImplementation "org.mockito:mockito-core:${versions.test.mockito}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal class AwaitBroadcastChannel<T>(

override fun offer(element: T): Boolean {
deferred.complete(true)
return channel.offer(element)
return channel.trySend(element).isSuccess
}

override suspend fun send(element: T) {
Expand Down

0 comments on commit 82602da

Please sign in to comment.