We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa6260 commit 94b3fadCopy full SHA for 94b3fad
app/src/main/java/com/troplo/privateuploader/components/core/UserAvatar.kt
@@ -142,7 +142,7 @@ fun UserAvatar(
142
.align(Alignment.BottomEnd)
143
) {
144
Text(text = "", modifier = Modifier.width(28.dp))
145
- if(friend.otherUser?.platforms?.get(0)?.platform !== "android_kotlin") {
+ if(friend.otherUser?.platforms == null || friend.otherUser?.platforms!!.isEmpty() || friend.otherUser?.platforms?.get(0)?.platform !== "android_kotlin") {
146
Box(
147
modifier = Modifier
148
.size(dotSize)
0 commit comments