Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Oct 9, 2019
1 parent 4aae934 commit 61ac619
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions gradle/versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ext {

// Core plugins
androidPluginVersion = "3.6.0-alpha12"
kotlinVersion = "1.3.50"
kotlinVersion = "1.3.60-eap-23"

// Utility plugins
versionsPluginVersion = "0.25.0"
Expand All @@ -29,11 +29,11 @@ ext {
koinVersion = "2.1.0-alpha-1"
appcompatVersion = "1.1.0"
browserVersion = "1.2.0-alpha08"
lifecycleVersion = "2.2.0-alpha05"
roomVersion = "2.2.0-rc01"
workVersion = "2.3.0-alpha01"
coreKtxVersion = "1.2.0-alpha04"
fragmentKtxVersion = "1.2.0-alpha04"
lifecycleVersion = "2.2.0-beta01"
roomVersion = "2.2.0"
workVersion = "2.3.0-alpha02"
coreKtxVersion = "1.2.0-beta01"
fragmentKtxVersion = "1.2.0-beta01"
shareTargetVersion = "1.0.0-beta01"
playCoreVersion = "1.6.3"
adsIdentifierVersion = "17.0.0"
Expand All @@ -50,7 +50,7 @@ ext {
autoDisposeVersion = "1.2.0"

// UI components
recyclerviewVersion = "1.1.0-beta04"
recyclerviewVersion = "1.1.0-beta05"
cardviewVersion = "1.0.0"
gridlayoutVersion = "1.0.0"
materialComponentsVersion = "1.1.0-beta01"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ object MessengerNotifications : KoinComponent {
.setConversationTitle(if (conference.isGroup) conference.topic else "")
.also {
messages.forEach { message ->
val messagePersonIcon = when {
message.userId == user.id -> personImage
val messagePersonIcon = when (message.userId) {
user.id -> personImage
else -> conferenceIcon
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/me/proxer/app/util/data/InstantJsonAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import org.threeten.bp.Instant
*/
class InstantJsonAdapter : JsonAdapter<Instant>() {
override fun fromJson(reader: JsonReader): Instant? {
return when {
reader.peek() == JsonReader.Token.NULL -> null
return when (reader.peek()) {
JsonReader.Token.NULL -> null
else -> Instant.ofEpochMilli(reader.nextLong())
}
}
Expand Down

0 comments on commit 61ac619

Please sign in to comment.