|
@@ -17,6 +17,7 @@ import MaterialHeaderButtons, {Item} from "../components/Custom/HeaderButton";
|
17
|
17
|
import {AnimatedValue} from "react-native-reanimated";
|
18
|
18
|
import AnimatedFAB from "../components/Custom/AnimatedFAB";
|
19
|
19
|
import AnimatedFocusView from "../components/Custom/AnimatedFocusView";
|
|
20
|
+import {SafeAreaView} from "react-native-safe-area-context";
|
20
|
21
|
// import DATA from "../dashboard_data.json";
|
21
|
22
|
|
22
|
23
|
|
|
@@ -471,6 +472,7 @@ class HomeScreen extends React.Component<Props, State> {
|
471
|
472
|
render() {
|
472
|
473
|
const nav = this.props.navigation;
|
473
|
474
|
return (
|
|
475
|
+ <SafeAreaView style={{flex: 1,}}>
|
474
|
476
|
<AnimatedFocusView
|
475
|
477
|
{...this.props}
|
476
|
478
|
>
|
|
@@ -490,6 +492,7 @@ class HomeScreen extends React.Component<Props, State> {
|
490
|
492
|
onPress={this.openScanner}
|
491
|
493
|
/>
|
492
|
494
|
</AnimatedFocusView>
|
|
495
|
+ </SafeAreaView>
|
493
|
496
|
);
|
494
|
497
|
}
|
495
|
498
|
}
|