Skip to content
This repository was archived by the owner on Jun 24, 2019. It is now read-only.

Commit 660daab

Browse files
committed
improvement
1 parent 7cb8b52 commit 660daab

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The latest apk file is at [here](https://github.com/wangdicoder/JueJinClient/blo
1919
1. git clone https://github.com/wangdicoder/JueJinClient
2020
2. cd JueJinClient
2121
3. npm install
22-
4. npm link
22+
4. react-native link
2323
5. react-native run-android / run-ios
2424

2525
# Screenshot

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
android:allowBackup="true"
1616
android:label="@string/app_name"
1717
android:icon="@mipmap/ic_launcher"
18-
android:theme="@style/AppTheme">
18+
android:theme="@style/AppTheme"
19+
android:largeHeap="true">
1920
<activity
2021
android:name=".MainActivity"
2122
android:label="@string/app_name"

js/component/TabBar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export default class TabBar extends Component{
3434
return(
3535
<TabNavigator
3636
hidesTabTouch={true}
37-
tabBarStyle={styles.tabbar}>
37+
tabBarStyle={styles.tabbar}
38+
sceneStyle={{ paddingBottom: styles.tabbar.height }}>
3839
<TabNavigator.Item
3940
tabStyle={styles.tabStyle}
4041
title={tabName[0]}

0 commit comments

Comments
 (0)