Commit 6ec19359 authored by Trisno's avatar Trisno

add paddingTop

parent ffe00c39
import React from 'react'; import React from 'react';
import { View, Text, StyleSheet, Alert, BackHandler } from 'react-native'; import { View, Text, StyleSheet, Alert, BackHandler, StatusBar } from 'react-native';
import { Image } from 'react-native-elements'; import { Image } from 'react-native-elements';
import Axios from 'axios'; import Axios from 'axios';
import { TouchableOpacity, ScrollView } from 'react-native-gesture-handler'; import { TouchableOpacity, ScrollView } from 'react-native-gesture-handler';
...@@ -164,7 +164,8 @@ const styles = StyleSheet.create({ ...@@ -164,7 +164,8 @@ const styles = StyleSheet.create({
flex: 0.1, flex: 0.1,
flexDirection: 'row', flexDirection: 'row',
backgroundColor: '#CFB368', backgroundColor: '#CFB368',
alignItems: 'center' alignItems: 'center',
paddingTop: StatusBar.currentHeight
}, },
headerTitle: { headerTitle: {
flex: 1, flex: 1,
......
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