mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Use heroes to render room avatars
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ fun CompositeAvatar(
|
||||
}
|
||||
when (numberOfHeroes) {
|
||||
0 -> {
|
||||
// Cannot happen
|
||||
error("Unsupported number of heroes: 0")
|
||||
}
|
||||
1 -> {
|
||||
Avatar(heroes[0], modifier, contentDescription)
|
||||
|
||||
Reference in New Issue
Block a user