@@ -47,6 +47,7 @@ import ImageViewing from "react-native-image-viewing";
4747import { useSafeAreaInsets } from "react-native-safe-area-context" ;
4848import Animated , { FadeIn , FadeInUp , type SharedValue } from "react-native-reanimated" ;
4949import { useThemeColor } from "../../lib/useThemeColor" ;
50+ import { IOS_NAV_BAR_HEIGHT } from "../../lib/layoutMetrics" ;
5051import { useFontFamily } from "../../lib/useFontFamily" ;
5152import { scopedThreadKey } from "../../lib/scopedEntities" ;
5253import { copyTextWithHaptic } from "../../lib/copyTextWithHaptic" ;
@@ -1396,7 +1397,7 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
13961397 const userBubbleMaxWidth = contentWidth * 0.85 ;
13971398 const reviewCommentBubbleWidth = Math . min ( Math . max ( 280 , contentWidth * 0.85 ) , contentWidth ) ;
13981399 const insets = useSafeAreaInsets ( ) ;
1399- const topContentInset = props . contentTopInset ?? insets . top + 44 ;
1400+ const topContentInset = props . contentTopInset ?? insets . top + IOS_NAV_BAR_HEIGHT ;
14001401 const bottomContentInset = props . contentBottomInset ?? 18 ;
14011402 const usesNativeAutomaticInsets =
14021403 props . usesAutomaticContentInsets === true && Platform . OS === "ios" ;
@@ -1409,7 +1410,7 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
14091410 // header-providing screen) and fall back to the standard iOS bar height.
14101411 const navigationHeaderHeight = useContext ( HeaderHeightContext ) ;
14111412 const anchorTopInset = usesNativeAutomaticInsets
1412- ? navigationHeaderHeight || insets . top + 44
1413+ ? navigationHeaderHeight || insets . top + IOS_NAV_BAR_HEIGHT
14131414 : topContentInset ;
14141415
14151416 const iconSubtleColor = useThemeColor ( "--color-icon-subtle" ) ;
0 commit comments