diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx index beeb5547..2d9e61a9 100644 --- a/src/components/Lists.tsx +++ b/src/components/Lists.tsx @@ -178,7 +178,7 @@ let ListMaybePlaceholder = ({ return ( ) { const {tag, author} = route.params const {_} = useLingui() - const pal = usePalette('default') const fullTag = React.useMemo(() => { return `#${decodeURIComponent(tag)}` @@ -111,7 +109,7 @@ export default function HashtagScreen({ return ( <> - + ( + sideBorders={true} + // @ts-ignore web only + style={ + isWeb + ? { + position: isWeb ? 'sticky' : '', + top: 0, + zIndex: 1, + } + : undefined + }> section.title)} {...props} /> )} @@ -234,12 +241,3 @@ function HashtagScreenTab({ ) } - -const styles = StyleSheet.create({ - tabBarContainer: { - // @ts-ignore web only - position: isWeb ? 'sticky' : '', - top: 0, - zIndex: 1, - }, -})