Commit b8aa1f9b authored by Trisno's avatar Trisno
parents 2938bc9f 18121b3a
...@@ -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 }}>
......
...@@ -76,7 +76,11 @@ class RewardsList extends React.Component { ...@@ -76,7 +76,11 @@ class RewardsList extends React.Component {
try { try {
return ( return (
<View style={styles.container}> <View style={styles.container}>
<StatusBar backgroundColor='#CFB368' /> {Platform.OS === 'ios' ? (
<CustomIosStatusBar color='#CFB368' />
) : (
<StatusBar backgroundColor='#CFB368' />
)}
<View style={styles.header}> <View style={styles.header}>
<Text style={{ color: 'white', textAlign: 'center', fontSize: 20, fontFamily: 'Gotham-Black' }}>{i18n.t('titlerewardhistory')}</Text> <Text style={{ color: 'white', textAlign: 'center', fontSize: 20, fontFamily: 'Gotham-Black' }}>{i18n.t('titlerewardhistory')}</Text>
</View> </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