Profile screen performance tweak - Adjust initial num to render based on header height (#5005)

This commit is contained in:
Hailey
2024-08-29 09:09:24 -07:00
committed by GitHub
parent ea5ab99399
commit e33b88ed7d
4 changed files with 27 additions and 11 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ export function MessagesScreen({navigation, route}: Props) {
)
}, [_, t])
const initialNumToRender = useInitialNumToRender(80)
const initialNumToRender = useInitialNumToRender({minItemHeight: 80})
const [isPTRing, setIsPTRing] = useState(false)
const {