diff options
author | Hailey <me@haileyok.com> | 2024-05-30 21:32:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 05:32:54 +0100 |
commit | 89c9fd3be16ea96182842544d76ce019cb8e1403 (patch) | |
tree | 746f4319830142ba1bdac47fef8608f05e744c56 /src/view/com/lists/MyLists.tsx | |
parent | 8569e2e389e756ec2df6c547e894689500d1c111 (diff) | |
download | voidsky-89c9fd3be16ea96182842544d76ce019cb8e1403.tar.zst |
Change many border widths from `1` to `hairlineWidth` (#4294)
* feed items * update some more * moar * profile card * composer and notifications * settings screen * remove border from first item in feeds * remove border from first item in feeds * more removal of top border * fix flatlist rendering * oops * scroll to top fab * a.border * centeredview/list * placeholder * web sidebar * search posts * feeds list * user lists * list header * account list width 1 * hide top border feedgens * same for lists * fix tab bar web desktop * wait... * show the border on desktop web * fix lists * fix lists * round
Diffstat (limited to 'src/view/com/lists/MyLists.tsx')
-rw-r--r-- | src/view/com/lists/MyLists.tsx | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/view/com/lists/MyLists.tsx b/src/view/com/lists/MyLists.tsx index e9d2e4f0f..5ea95971c 100644 --- a/src/view/com/lists/MyLists.tsx +++ b/src/view/com/lists/MyLists.tsx @@ -9,17 +9,19 @@ import { ViewStyle, } from 'react-native' import {AppBskyGraphDefs as GraphDefs} from '@atproto/api' -import {ListCard} from './ListCard' +import {Trans} from '@lingui/macro' + +import {cleanError} from '#/lib/strings/errors' +import {logger} from '#/logger' import {MyListsFilter, useMyListsQuery} from '#/state/queries/my-lists' -import {ErrorMessage} from '../util/error/ErrorMessage' -import {Text} from '../util/text/Text' import {useAnalytics} from 'lib/analytics/analytics' import {usePalette} from 'lib/hooks/usePalette' -import {List} from '../util/List' import {s} from 'lib/styles' -import {logger} from '#/logger' -import {Trans} from '@lingui/macro' -import {cleanError} from '#/lib/strings/errors' +import {ErrorMessage} from '../util/error/ErrorMessage' +import {List} from '../util/List' +import {Text} from '../util/text/Text' +import {ListCard} from './ListCard' +import hairlineWidth = StyleSheet.hairlineWidth const LOADING = {_reactKey: '__loading__'} const EMPTY = {_reactKey: '__empty__'} @@ -84,7 +86,7 @@ export function MyLists({ <View key={item._reactKey} testID="listsEmpty" - style={[{padding: 18, borderTopWidth: 1}, pal.border]}> + style={[{padding: 18, borderTopWidth: hairlineWidth}, pal.border]}> <Text style={pal.textLight}> <Trans>You have no lists.</Trans> </Text> |