Commit 18121b3a authored by Fred's avatar Fred

fix tampilan iphone x

parent 5ea1484a
...@@ -13,6 +13,7 @@ import NumberFormat from 'react-number-format'; ...@@ -13,6 +13,7 @@ import NumberFormat from 'react-number-format';
import { connect } from 'react-redux'; import { connect } from 'react-redux';
import requestParams from '../helper/requestParams'; import requestParams from '../helper/requestParams';
import ActionType from '../redux/globalActionType'; import ActionType from '../redux/globalActionType';
import CustomIosStatusBar from './CustomIosStatusBar';
class Account extends React.Component { class Account extends React.Component {
...@@ -291,6 +292,9 @@ class Account extends React.Component { ...@@ -291,6 +292,9 @@ class Account extends React.Component {
const navigation = this.props.navigation const navigation = this.props.navigation
return ( return (
<View style={styles.container}> <View style={styles.container}>
{Platform.OS === 'ios' ? (
<CustomIosStatusBar color='#CFB368' />
) : null}
<ScrollView style={{ paddingTop: StatusBar.currentHeight }}> <ScrollView style={{ paddingTop: StatusBar.currentHeight }}>
<View style={{ flex: 1, height: 90 }}> <View style={{ flex: 1, height: 90 }}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment