Commit 49708af8 authored by William Goszal's avatar William Goszal 🚴

quickfix, trigger hide statusbar di home.js, supaya gak bentrok ama notch

parent 0463aa86
......@@ -5,7 +5,7 @@ import * as Device from 'expo-device';
import * as Location from 'expo-location';
import * as Permissions from 'expo-permissions';
import * as React from 'react';
import { ActivityIndicator, Alert, Dimensions, ScrollView, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
import { ActivityIndicator, Alert, Dimensions, ScrollView, StyleSheet, Text, TouchableOpacity, View, SafeAreaView, StatusBar } from 'react-native';
import { SliderBox } from "react-native-image-slider-box";
import { Card } from 'react-native-shadow-cards';
import { connect } from 'react-redux';
......@@ -209,7 +209,8 @@ class Home extends React.Component {
render() {
// console.log(this.props.in_payment)
return (
<View style={styles.container}>
<SafeAreaView style={styles.container}>
<StatusBar hidden={true} />
<ScrollView>
<View style={{ flex: 6 }}>
<View style={styles.header}>
......@@ -406,7 +407,7 @@ class Home extends React.Component {
</View>
</View>
</ScrollView>
</View>
</SafeAreaView>
)
}
}
......
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