remove use of sticky topBorder, add border to feed footer (#8121)

This commit is contained in:
Samuel Newman
2025-04-04 17:30:46 +03:00
committed by GitHub
parent fa08428428
commit 22a7199436
2 changed files with 23 additions and 12 deletions
+13 -1
View File
@@ -766,6 +766,9 @@ export function Explore({
)
}
// feed previews
case 'preview:spacer': {
return <View style={[a.w_full, a.pt_4xl]} />
}
case 'preview:empty': {
return null // what should we do here?
}
@@ -799,7 +802,16 @@ export function Explore({
)
}
case 'preview:footer': {
return <View style={[a.w_full, a.pt_2xl]} />
return (
<View
style={[
a.border_t,
t.atoms.border_contrast_low,
a.w_full,
a.pt_4xl,
]}
/>
)
}
case 'preview:sliceItem': {
const slice = item.slice