diff --git a/src/screens/Categories/CategoriesScreen.tsx b/src/screens/Categories/CategoriesScreen.tsx index 3f2f860b..2af0e9b1 100644 --- a/src/screens/Categories/CategoriesScreen.tsx +++ b/src/screens/Categories/CategoriesScreen.tsx @@ -18,6 +18,7 @@ import { Category } from '@database/types'; import CategoryCard from './components/CategoryCard'; import { orderBy } from 'lodash-es'; import CategorySkeletonLoading from './components/CategorySkeletonLoading'; +import { useSafeAreaInsets } from 'react-native-safe-area-context'; const CategoriesScreen = () => { const theme = useTheme(); @@ -25,6 +26,7 @@ const CategoriesScreen = () => { const [isLoading, setIsLoading] = useState(true); const [categories, setCategories] = useState(); + const { bottom } = useSafeAreaInsets(); const getCategories = async () => { try { @@ -105,7 +107,7 @@ const CategoriesScreen = () => { /> )} { /> )}