Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 6e7b89e

Browse files
authored
Merge pull request #712 from lightninglabs/upgrade-react-native-web
Upgrade react native web
2 parents 70cf708 + 1714eac commit 6e7b89e

File tree

3 files changed

+88
-42
lines changed

3 files changed

+88
-42
lines changed

package-lock.json

Lines changed: 75 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
"mobx": "^3.6.2",
3737
"mobx-react": "^4.4.3",
3838
"qr-image": "^3.2.0",
39-
"react": "~16.3.2",
40-
"react-art": "~16.3.2",
41-
"react-dom": "~16.3.2",
42-
"react-native-web": "^0.6.0",
39+
"react": "^16.5.2",
40+
"react-art": "^16.5.2",
41+
"react-dom": "^16.5.2",
42+
"react-native-web": "^0.9.1",
4343
"react-scripts": "^1.1.5",
4444
"svgs": "^3.2.1"
4545
},
@@ -52,7 +52,7 @@
5252
"ajv": "^6.5.0",
5353
"babel-cli": "^6.26.0",
5454
"babel-core": "^6.26.0",
55-
"babel-plugin-react-native-web": "^0.6.0",
55+
"babel-plugin-react-native-web": "^0.9.1",
5656
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
5757
"babel-plugin-transform-object-rest-spread": "^6.26.0",
5858
"babel-preset-react-native": "^4.0.0",
@@ -69,7 +69,7 @@
6969
"mocha": "^5.0.0",
7070
"nock": "^9.1.6",
7171
"prettier": "^1.11.1",
72-
"prop-types": "^15.6.0",
72+
"prop-types": "^15.6.2",
7373
"sinon": "^6.0.0",
7474
"unexpected": "^10.37.2",
7575
"unexpected-sinon": "^10.10.1",

src/view/seed.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ import { color, font } from '../component/style';
1212
// Seed View
1313
//
1414

15+
const styles = StyleSheet.create({
16+
content: {
17+
flexBasis: 0,
18+
},
19+
});
20+
1521
const SeedView = ({ store, wallet }) => (
1622
<SplitBackground image="purple-gradient-bg" bottom={color.blackDark}>
1723
<CopySection />
18-
<MainContent>
24+
<MainContent style={styles.content}>
1925
<WordList seedMnemonic={store.seedMnemonic.slice()} />
2026
<GlasButton onPress={() => wallet.initSeedVerify()}>Next</GlasButton>
2127
</MainContent>

0 commit comments

Comments
 (0)