Skip to content

Commit 2130e34

Browse files
Leslie NgoLeslie Ngo
authored andcommitted
homescreen_icon [nfc]: Swap TopTabButton with TopTabButtonGeneral
to prepare the component for icon swapping.
1 parent 77a645f commit 2130e34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/HomeScreen.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import LoadingBanner from '../common/LoadingBanner';
1818
import ServerCompatBanner from '../common/ServerCompatBanner';
1919
import ServerPushSetupBanner from '../common/ServerPushSetupBanner';
2020
import { OfflineNoticePlaceholder } from '../boot/OfflineNoticeProvider';
21+
import { Icon } from '../common/Icons';
2122

2223
const styles = createStyleSheet({
2324
wrapper: {
@@ -43,12 +44,14 @@ export default function HomeScreen(props: Props): Node {
4344
<SafeAreaView mode="padding" edges={['top']} style={styles.wrapper}>
4445
<OfflineNoticePlaceholder />
4546
<View style={styles.iconList}>
46-
<TopTabButton
47+
<TopTabButtonGeneral
4748
name="globe"
4849
onPress={() => {
4950
dispatch(doNarrow(HOME_NARROW));
5051
}}
51-
/>
52+
>
53+
<Icon size={24} style={{ textAlign: 'center ' }} color={BRAND_COLOR} name="globe" />
54+
</TopTabButtonGeneral>
5255
<TopTabButton
5356
name="star"
5457
onPress={() => {

0 commit comments

Comments
 (0)