element-hq / element-hq/element-android

Location map marker rendering is broken when the user doesn't have an avatar

Open
#6,594 0 comments 0 reactions 0 assignees View on GitHub
A-Location O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

- Share a static location
- Click the location message in the timeline
![static_location_pin](https://user-images.githubusercontent.com/1254401/179747028-13d1c425-8288-4ea8-8e57-02540b399760.png)

- Share a live location
- Click the location message in the timeline
- Remember the color of the marker
- Click pin, share in another application, go back to Element Android
- Check if the color of the marker has been changed
![live_location_pin](https://user-images.githubusercontent.com/1254401/179747167-a231f191-019a-4027-bbe4-871470a2242e.png)

### Outcome

**Static Location**
- The first letter of the user display name should be rendered on the map marker.

**Live Location**
- Color of the markers should stay the same for the same user.

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

_No response_

### Homeserver

_No response_

### Will you send logs?

No

### Are you willing to provide a PR?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.