diff --git a/packages/react-native-ui/src/Layout.tsx b/packages/react-native-ui/src/Layout.tsx index 0a805b4caf..b2b99f170e 100644 --- a/packages/react-native-ui/src/Layout.tsx +++ b/packages/react-native-ui/src/Layout.tsx @@ -4,7 +4,7 @@ import { type API_IndexHash, type Args, type StoryContext } from '@storybook/cor import type { ReactRenderer } from '@storybook/react'; import { styled, useTheme } from '@storybook/react-native-theming'; import { ReactNode, useRef, useState } from 'react'; -import { Platform, ScrollView, Text, TouchableOpacity, View } from 'react-native'; +import { ScrollView, Text, TouchableOpacity, View } from 'react-native'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { IconButton } from './IconButton'; import { useLayout } from './LayoutProvider'; @@ -189,6 +189,7 @@ export const Layout = ({ )} + - {!uiHidden && (Platform.OS !== 'android' || (!menuOpen && !drawerOpen)) && ( + + {!uiHidden ? ( - )} + ) : null} ); };