diff --git a/src/component/label.js b/src/component/label.js index 2a8e0d738..827d07dd4 100644 --- a/src/component/label.js +++ b/src/component/label.js @@ -15,7 +15,7 @@ const balanceStyles = StyleSheet.create({ numeral: { fontFamily: 'WorkSans ExtraLight', fontSize: font.sizeXXXL, - lineHeight: font.lineHeightXXXL, + lineHeight: null, }, unit: { fontFamily: 'WorkSans Regular', @@ -35,7 +35,13 @@ BalanceLabel.propTypes = { }; export const BalanceLabelNumeral = ({ children, style }) => ( - {children} + + {children} + ); BalanceLabelNumeral.propTypes = { diff --git a/src/component/text.js b/src/component/text.js index c4e2661b9..6bbfcd42e 100644 --- a/src/component/text.js +++ b/src/component/text.js @@ -65,7 +65,7 @@ export const CopyOnboardText = ({ children = '', style }) => ( ); CopyOnboardText.propTypes = { - children: PropTypes.string.isRequired, + children: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), style: RNText.propTypes.style, }; @@ -86,7 +86,7 @@ export const H1Text = ({ children = '', style }) => ( ); H1Text.propTypes = { - children: PropTypes.string.isRequired, + children: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), style: RNText.propTypes.style, }; @@ -107,7 +107,7 @@ export const H3Text = ({ children = '', style }) => ( ); H3Text.propTypes = { - children: PropTypes.string.isRequired, + children: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), style: RNText.propTypes.style, }; @@ -128,7 +128,7 @@ export const H4Text = ({ children, style }) => ( ); H4Text.propTypes = { - children: PropTypes.string.isRequired, + children: PropTypes.oneOfType([PropTypes.string, PropTypes.array]), style: RNText.propTypes.style, }; diff --git a/src/store.js b/src/store.js index 85e5880a0..f887c3493 100644 --- a/src/store.js +++ b/src/store.js @@ -94,7 +94,7 @@ export class Store { settings: { unit: DEFAULT_UNIT, fiat: DEFAULT_FIAT, - displayFiat: true, + displayFiat: false, exchangeRate: {}, restoring: false, autopilot: true, diff --git a/src/view/home.js b/src/view/home.js index 25dc73d5a..1ecdaf14b 100644 --- a/src/view/home.js +++ b/src/view/home.js @@ -11,11 +11,7 @@ import { H4Text } from '../component/text'; import Icon from '../component/icon'; import QrIcon from '../asset/icon/qr'; import LightningBoltPurpleIcon from '../asset/icon/lightning-bolt-purple'; -import { - BalanceLabel, - BalanceLabelNumeral, - BalanceLabelUnit, -} from '../component/label'; +import { BalanceLabel, BalanceLabelNumeral } from '../component/label'; import { Button, GlasButton, DownButton } from '../component/button'; // @@ -113,9 +109,9 @@ const BalanceDisplay = ({ }) => (