Skip to content

Commit 0417f26

Browse files
committed
fix: add app refactor
1 parent 683d780 commit 0417f26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/SampleApp/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,11 @@ const isMessageAIGenerated = (message: LocalMessage) => !!message.ai_generated;
169169
const DrawerNavigatorWrapper: React.FC<{
170170
chatClient: StreamChat;
171171
}> = ({ chatClient }) => {
172-
const { bottom } = useSafeAreaInsets();
173172
const streamChatTheme = useStreamChatTheme();
174173

175174
return (
176175
<GestureHandlerRootView style={{ flex: 1 }}>
177-
<OverlayProvider bottomInset={bottom} value={{ style: streamChatTheme }}>
176+
<OverlayProvider value={{ style: streamChatTheme }}>
178177
<Chat
179178
client={chatClient}
180179
enableOfflineSupport

0 commit comments

Comments
 (0)