Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default user avatar #666

Merged
merged 3 commits into from
Aug 20, 2023
Merged

Add default user avatar #666

merged 3 commits into from
Aug 20, 2023

Conversation

coslu
Copy link
Contributor

@coslu coslu commented Aug 20, 2023

Pull Request Description

Creates a UserAvatar widget similar to the existing CommunityIcon and refactors user avatars to use that widget. This makes it so that users without an avatar show a default avatar with the first letter of the display name (if applicable) or the user name.

Also uses CommunityIcon inside CommunityHeader to ensure communities without an icon show the default icon instead of a blank circle.

Issue Being Fixed

Issue Number: N/A

Screenshots / Recordings

Before / After

Screenshot_20230820_205652 Screenshot_20230820_233719

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Collaborator

@ajsosa ajsosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change 👍

@ajsosa ajsosa merged commit b970546 into thunder-app:develop Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants