Skip to content

Commit 6ade586

Browse files
Leslie NgoLeslie Ngo
Leslie Ngo
authored and
Leslie Ngo
committed
homescreen_icon [nfc]: Swap TopTabButton with TopTabButtonGeneral
to prepare the component for icon swapping.
1 parent c072bbb commit 6ade586

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/HomeScreen.js

+5-3
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,13 @@ 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-
name="globe"
47+
<TopTabButtonGeneral
4848
onPress={() => {
4949
dispatch(doNarrow(HOME_NARROW));
5050
}}
51-
/>
51+
>
52+
<Icon size={24} style={{ textAlign: 'center' }} color={BRAND_COLOR} name="globe" />
53+
</TopTabButtonGeneral>
5254
<TopTabButton
5355
name="star"
5456
onPress={() => {

0 commit comments

Comments
 (0)