about summary refs log tree commit diff
path: root/src/view/screens/Lists.tsx
diff options
context:
space:
mode:
authorBartosz Kaszubowski <gosimek@gmail.com>2024-06-04 01:05:26 +0200
committerGitHub <noreply@github.com>2024-06-03 16:05:26 -0700
commit44670c7ee27c81fd4c78e990c3afda68639a015d (patch)
treef0f97b69731051cf722feabdc9736ae7da36b0e6 /src/view/screens/Lists.tsx
parent8d8323421c5f9c9f850f2b4e6fd4c62b932e14b2 (diff)
downloadvoidsky-44670c7ee27c81fd4c78e990c3afda68639a015d.tar.zst
Unify profile tabs and lists screens placeholders (#4315)
Diffstat (limited to 'src/view/screens/Lists.tsx')
-rw-r--r--src/view/screens/Lists.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/view/screens/Lists.tsx b/src/view/screens/Lists.tsx
index 0dd2febcb..12ea6f48b 100644
--- a/src/view/screens/Lists.tsx
+++ b/src/view/screens/Lists.tsx
@@ -52,12 +52,12 @@ export function ListsScreen({}: Props) {
     <View style={s.hContentRegion} testID="listsScreen">
       <SimpleViewHeader
         showBackButton={isMobile}
-        style={
-          !isMobile && [
-            pal.border,
-            {borderLeftWidth: hairlineWidth, borderRightWidth: hairlineWidth},
-          ]
-        }>
+        style={[
+          pal.border,
+          isMobile
+            ? {borderBottomWidth: hairlineWidth}
+            : {borderLeftWidth: hairlineWidth, borderRightWidth: hairlineWidth},
+        ]}>
         <View style={{flex: 1}}>
           <Text type="title-lg" style={[pal.text, {fontWeight: 'bold'}]}>
             <Trans>User Lists</Trans>