Reduce number of Previews for Avatar. #5495
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Content
Reduce number of Previews for Avatar.
Motivation and context
It will cover more cases, and it will limit the risk of conflict on screenshot, which happen each time we touch the
AvatarSize
enum.Additionnaly it will reveal if there is some unused
AvatarSize
. And there is one:RoomInviteItem
. I will remove in a later PR, I would like to work onAvatarSize
but there are pending PRs touching this file, so I wait.Screenshots / GIFs
No expected change in the app, but number of preview should decrease. It should not impact the code coverage too.
Tests
Tested devices
Checklist