diff options
Diffstat (limited to 'src/components/Lists.tsx')
-rw-r--r-- | src/components/Lists.tsx | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx index 16bd6a9ea..2d7b13b25 100644 --- a/src/components/Lists.tsx +++ b/src/components/Lists.tsx @@ -109,38 +109,6 @@ function ListFooterMaybeError({ ) } -export function ListHeaderDesktop({ - title, - subtitle, -}: { - title: string - subtitle?: string -}) { - const {gtTablet} = useBreakpoints() - const t = useTheme() - - if (!gtTablet) return null - - return ( - <View - style={[ - a.w_full, - a.py_sm, - a.px_xl, - a.gap_xs, - a.justify_center, - {minHeight: 50}, - ]}> - <Text style={[a.text_2xl, a.font_bold]}>{title}</Text> - {subtitle ? ( - <Text style={[a.text_md, t.atoms.text_contrast_medium]}> - {subtitle} - </Text> - ) : undefined} - </View> - ) -} - let ListMaybePlaceholder = ({ isLoading, noEmpty, @@ -154,7 +122,7 @@ let ListMaybePlaceholder = ({ onGoBack, hideBackButton, sideBorders, - topBorder = true, + topBorder = false, }: { isLoading: boolean noEmpty?: boolean |