Skip to content

Commit

Permalink
updated max height
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Dec 18, 2023
1 parent a14b845 commit 76f181d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions packages/react-native-room-kit/src/components/GridView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ import { View, FlatList, StyleSheet, useWindowDimensions } from 'react-native';
import { useDispatch, useSelector } from 'react-redux';
import type {
LayoutChangeEvent,
LayoutRectangle,
ViewToken,
} from 'react-native';
import type { HMSView, HMSPeer } from '@100mslive/react-native-hms';
import Animated, { useSharedValue } from 'react-native-reanimated';

import { DefaultModal } from './DefaultModal';
import { SaveScreenshot } from './Modals';
Expand Down Expand Up @@ -233,7 +231,7 @@ const RegularTiles = React.forwardRef<
<FlatList
ref={flatlistRef}
horizontal={true}
style={{maxHeight: safeHeight}}
style={{maxHeight: (safeHeight - 16)}}
data={pairedPeers}
initialNumToRender={1}
maxToRenderPerBatch={1}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useMemo } from 'react';
import { useSelector } from 'react-redux';
import { View } from 'react-native';
import { SafeAreaView, useSafeAreaFrame, useSafeAreaInsets } from 'react-native-safe-area-context';
import type { SharedValue } from 'react-native-reanimated';
import Animated, {
Expand Down

0 comments on commit 76f181d

Please sign in to comment.