Skip to content

Commit 4a659c6

Browse files
Leslie NgoLeslie Ngo
Leslie Ngo
authored and
Leslie Ngo
committed
homescreen_icon: Swap All-Messages icon from 'globe' to 'list'.
to match mobile's All Messages icon with the one found in web Zulip. Fixes: zulip#5303
1 parent 9000865 commit 4a659c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/common/Icons.js

+1
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,4 @@ export const IconGroup: SpecificIconType = makeIcon(FontAwesome, 'group');
108108
export const IconPlus: SpecificIconType = makeIcon(Feather, 'plus');
109109
// eslint-disable-next-line react/function-component-definition
110110
export const IconWebPublic: SpecificIconType = props => <ZulipIcon name="globe" {...props} />;
111+
export const IconAllMessages: SpecificIconType = makeIcon(FontAwesome, 'align-left');

src/main/HomeScreen.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { BRAND_COLOR, createStyleSheet } from '../styles';
1616
import LoadingBanner from '../common/LoadingBanner';
1717
import ServerCompatBanner from '../common/ServerCompatBanner';
1818
import ServerPushSetupBanner from '../common/ServerPushSetupBanner';
19-
import { Icon } from '../common/Icons';
19+
import { IconAllMessages } from '../common/Icons';
2020

2121
const styles = createStyleSheet({
2222
wrapper: {
@@ -46,7 +46,7 @@ export default function HomeScreen(props: Props): Node {
4646
dispatch(doNarrow(HOME_NARROW));
4747
}}
4848
>
49-
<Icon size={24} style={{ textAlign: 'center' }} color={BRAND_COLOR} name="globe" />
49+
<IconAllMessages size={24} style={{ textAlign: 'center' }} color={BRAND_COLOR} />
5050
</TopTabButtonGeneral>
5151
<TopTabButton
5252
name="star"

0 commit comments

Comments
 (0)