Skip to content

Commit 4b5ffb6

Browse files
committed
feat: more button of tabbar my
1 parent 8853b93 commit 4b5ffb6

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/i18n/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"intro": "This project used React Native to build a V2EX mobile client application. The main goal was to build a React Native rapid development scaffold."
55
},
66
"common": {
7+
"more":"More",
8+
"home": "Home",
79
"integrated": "Integrated",
810
"help": "Help",
911
"replies": "Replies",

src/i18n/locales/zh.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"intro": "这个项目使用了 React Native 构建了一个 V2EX 移动客户端应用。主要目的是为了构建一个 React Native 快速开发脚手架。"
55
},
66
"common": {
7+
"more": "更多",
8+
"home": "主页",
79
"integrated": "综合",
810
"help": "帮助",
911
"replies": "回复",
@@ -89,7 +91,6 @@
8991
"joinSinceTime": "加入于",
9092
"joinV2exSinceTime": "第 $ 号会员,加入于 $。",
9193
"createNodeSinceTime": "节点从 $ 创建至今。",
92-
9394
"noLogin": "未登陆",
9495
"posdedTopics": "$ 发布的主题",
9596
"openApp": "打开APP",

src/screens/my/Home.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ const My = ({
3838
headerRight: () =>
3939
profile && (
4040
<HeaderButton
41-
source={theme.assets.images.icons.header.more}
41+
containerStyle={[{ marginRight: theme.dimens.layoutContainerHorizontalMargin }]}
42+
text={translate('common.more')}
4243
onPress={() => {
4344
navigation.navigate(ROUTES.WebViewer, { url: profile?.url })
4445
}}

0 commit comments

Comments
 (0)