Commit b8aa1f9b authored by Trisno's avatar Trisno
parents 2938bc9f 18121b3a
......@@ -13,6 +13,7 @@ import NumberFormat from 'react-number-format';
import { connect } from 'react-redux';
import requestParams from '../helper/requestParams';
import ActionType from '../redux/globalActionType';
import CustomIosStatusBar from './CustomIosStatusBar';
class Account extends React.Component {
......@@ -291,6 +292,9 @@ class Account extends React.Component {
const navigation = this.props.navigation
return (
<View style={styles.container}>
{Platform.OS === 'ios' ? (
<CustomIosStatusBar color='#CFB368' />
) : null}
<ScrollView style={{ paddingTop: StatusBar.currentHeight }}>
<View style={{ flex: 1, height: 90 }}>
......
......@@ -76,7 +76,11 @@ class RewardsList extends React.Component {
try {
return (
<View style={styles.container}>
<StatusBar backgroundColor='#CFB368' />
{Platform.OS === 'ios' ? (
<CustomIosStatusBar color='#CFB368' />
) : (
<StatusBar backgroundColor='#CFB368' />
)}
<View style={styles.header}>
<Text style={{ color: 'white', textAlign: 'center', fontSize: 20, fontFamily: 'Gotham-Black' }}>{i18n.t('titlerewardhistory')}</Text>
</View>
......
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