Skip to content

Commit

Permalink
homescreen_icon: Swap All-Messages icon from 'globe' to 'list'.
Browse files Browse the repository at this point in the history
to match mobile's All Messages icon with the one found in web Zulip.

Fixes: zulip#5303
  • Loading branch information
Leslie Ngo authored and Leslie Ngo committed Aug 20, 2022
1 parent 9000865 commit 4a659c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/common/Icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,4 @@ export const IconGroup: SpecificIconType = makeIcon(FontAwesome, 'group');
export const IconPlus: SpecificIconType = makeIcon(Feather, 'plus');
// eslint-disable-next-line react/function-component-definition
export const IconWebPublic: SpecificIconType = props => <ZulipIcon name="globe" {...props} />;
export const IconAllMessages: SpecificIconType = makeIcon(FontAwesome, 'align-left');
4 changes: 2 additions & 2 deletions src/main/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { BRAND_COLOR, createStyleSheet } from '../styles';
import LoadingBanner from '../common/LoadingBanner';
import ServerCompatBanner from '../common/ServerCompatBanner';
import ServerPushSetupBanner from '../common/ServerPushSetupBanner';
import { Icon } from '../common/Icons';
import { IconAllMessages } from '../common/Icons';

const styles = createStyleSheet({
wrapper: {
Expand Down Expand Up @@ -46,7 +46,7 @@ export default function HomeScreen(props: Props): Node {
dispatch(doNarrow(HOME_NARROW));
}}
>
<Icon size={24} style={{ textAlign: 'center' }} color={BRAND_COLOR} name="globe" />
<IconAllMessages size={24} style={{ textAlign: 'center' }} color={BRAND_COLOR} />
</TopTabButtonGeneral>
<TopTabButton
name="star"
Expand Down

0 comments on commit 4a659c6

Please sign in to comment.