forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avatar: Make all avatars (rounded) squares, not circles.
Fixes zulip#3398. Zulip displays avatars as squares with rounded corners, not circles, throughout the app on all platforms. Among other reasons, many avatar images don't work well when cropped to a circle; among them many logos used for integrations, and even our own avatars for Reminder Bot and its friends. Importantly, we don't just tweak a prop at each call site: we actually take out the code for the "circle" case. In general, when we decide we're not going to do things a certain way, leaving the old no-longer-used code around causes confusion for anyone reading it; and as this issue illustrates (compare 9dc8f09, fixing zulip#205), it can lead to silently re-introducing the behavior later.
- Loading branch information
Showing
5 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters