Skip to content

Commit

Permalink
fix crash with channel point messages
Browse files Browse the repository at this point in the history
  • Loading branch information
crackededed committed Feb 25, 2024
1 parent 030a7ff commit 0a2109c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {
minSdk = 21
targetSdk = 34
versionCode = 121
versionName = "2.29.1"
versionName = "2.29.2"
resourceConfigurations += listOf("ar", "de", "en", "es", "fr", "in", "ja", "pt-rBR", "ru", "tr", "zh-rTW", "zh-rCN")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ class ChatAdapter(
userNameWithPostfixLength = 0
}
}
builder.append(chatMessage.message)
if (chatMessage.message != null) {
builder.append(chatMessage.message)
}
val color = if (chatMessage is PubSubPointReward) null else
chatMessage.color.let { userColor ->
if (userColor == null) {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ android-gradle-plugin = "8.2.2"
apollo = "3.8.2"
appcompat = "1.7.0-alpha03"
checker-qual = "3.42.0"
coil = "2.5.0"
coil = "2.6.0"
constraintlayout = "2.1.4"
core = "1.12.0"
coroutines = "1.8.0"
Expand Down

0 comments on commit 0a2109c

Please sign in to comment.