element-hq / element-hq/element-x-android
User colors
- Lingua principale
- Kotlin
- Stelle
- 2.4k
- Fork
- 624
- Merge medio
- 1g 14h
- PR unite (30g)
- 149
Descrizione
We now have 8 colors to be consistent with EXI and EleWeb, but Figma file has only 6 colors.
At some point this will have to be updated, with some synchronization with the other Element clients.
Also the same should apply to room avatar, with some specific rules about the id to use to compute the hash. If the room is a DM, we should use the otherId to compute the hash, instead of the roomId.
(algo on web: https://github.com/matrix-org/matrix-react-sdk/blob/c853257d54c2056bb2dd08ba5d3798300daaaf61/src/components/views/avatars/RoomAvatar.tsx#L119, but not very clear to me)
**Note:** for now we can only use the roomId to compute the hash.
Related #1224
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.