| ... | ... | @@ -138,6 +138,10 @@ interface HomeScreenProps { |
| 138 | 138 | // measured-height pool expansion. The old tallest-card estimate (~92) fired |
| 139 | 139 | // that warning on every ordinary shelf expand, so the average wins. |
| 140 | 140 | const ESTIMATED_THREAD_LIST_V2_ROW_HEIGHT = 72; |
| 141 | // Rows away from the viewport are cheap dormant frames (see |
| 142 | // swipe-row-activation), so render further ahead: a fast fling then reaches |
| 143 | // rows that are already built instead of rows still being rebuilt. |
| 144 | const THREAD_LIST_V2_DRAW_DISTANCE = 1_000; |
| 141 | 145 | const PRE_LIQUID_GLASS_BOTTOM_TOOLBAR_HEIGHT = 44; |
| 142 | 146 | /** |
| 143 | 147 | * Top spacing between the list and the Android custom header. The Android |
| ... | ... | @@ -1014,7 +1018,7 @@ export function HomeScreen(props: HomeScreenProps) { |
| 1014 | 1018 | getItemType={(item) => item.type} |
| 1015 | 1019 | itemsAreEqual={threadListV2ListItemsAreEqual} |
| 1016 | 1020 | estimatedItemSize={ESTIMATED_THREAD_LIST_V2_ROW_HEIGHT} |
| 1017 | | drawDistance={500} |
| 1021 | drawDistance={THREAD_LIST_V2_DRAW_DISTANCE} |
| 1018 | 1022 | recycleItems |
| 1019 | 1023 | extraData={v2ExtraData} |
| 1020 | 1024 | ListHeaderComponent={v2ListHeader} |