Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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(Feather, 'align-left');
12 changes: 9 additions & 3 deletions src/main/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import LoadingBanner from '../common/LoadingBanner';
import ServerCompatBanner from '../common/ServerCompatBanner';
import ServerPushSetupBanner from '../common/ServerPushSetupBanner';
import { OfflineNoticePlaceholder } from '../boot/OfflineNoticeProvider';
import { IconAllMessages } from '../common/Icons';

const styles = createStyleSheet({
wrapper: {
Expand All @@ -43,12 +44,17 @@ export default function HomeScreen(props: Props): Node {
<SafeAreaView mode="padding" edges={['top']} style={styles.wrapper}>
<OfflineNoticePlaceholder />
<View style={styles.iconList}>
<TopTabButton
name="globe"
<TopTabButtonGeneral
onPress={() => {
dispatch(doNarrow(HOME_NARROW));
}}
/>
>
<IconAllMessages
size={24}
style={{ textAlign: 'center', transform: [{ scaleY: -1 }] }}
color={BRAND_COLOR}
/>
</TopTabButtonGeneral>
<TopTabButton
name="star"
onPress={() => {
Expand Down