Skip to content

Commit 66c739e

Browse files
set header height to be dynamic
1 parent c2ef700 commit 66c739e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/navigation/RootNavigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'react-native-gesture-handler';
22
import React from 'react';
3-
import { createStackNavigator } from '@react-navigation/stack';
3+
import { createStackNavigator, Header } from '@react-navigation/stack';
44
import { Image, StyleSheet, TouchableOpacity } from 'react-native';
55

66
import StackNavigationData from './stackNavigationData';
@@ -60,6 +60,6 @@ const styles = StyleSheet.create({
6060
right: 0,
6161
bottom: 0,
6262
width: 100 + '%',
63-
height: 57,
63+
height: Header.height,
6464
},
6565
});

0 commit comments

Comments
 (0)