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