Update FloatButtons.tsx

This commit is contained in:
Marcos Rodriguez Velez 2023-11-12 08:00:41 -04:00
parent d6f7173367
commit 75cd0b8302
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7

View file

@ -1,5 +1,5 @@
import React, { useState, useRef, forwardRef, ReactNode } from 'react';
import { View, Text, TouchableOpacity, StyleSheet, Dimensions, PixelRatio, SafeAreaView } from 'react-native';
import { View, Text, TouchableOpacity, StyleSheet, Dimensions, PixelRatio } from 'react-native';
import { useTheme } from './themes';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
@ -52,7 +52,7 @@ export const FContainer = forwardRef<View, FContainerProps>((props, ref) => {
};
return (
<SafeAreaView
<View
ref={ref}
onLayout={onLayout}
style={[
@ -81,7 +81,7 @@ export const FContainer = forwardRef<View, FContainerProps>((props, ref) => {
});
})
: props.children}
</SafeAreaView>
</View>
);
});