diff options
author | Minseo Lee <itoupluk427@gmail.com> | 2024-03-16 16:48:58 +0900 |
---|---|---|
committer | Minseo Lee <itoupluk427@gmail.com> | 2024-03-16 16:48:58 +0900 |
commit | 7a0bf7266a5a871fafb08194d794318fb02ac999 (patch) | |
tree | b9e7a5e261b28f053c31fae887885af31e4afcba /src/components/Lists.tsx | |
parent | 6d57094c6a9898076e52baf9a5a4d2455c308280 (diff) | |
download | voidsky-7a0bf7266a5a871fafb08194d794318fb02ac999.tar.zst |
Update Lists.tsx
Diffstat (limited to 'src/components/Lists.tsx')
-rw-r--r-- | src/components/Lists.tsx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/components/Lists.tsx b/src/components/Lists.tsx index 8a6dfdc7c..f506f52ce 100644 --- a/src/components/Lists.tsx +++ b/src/components/Lists.tsx @@ -6,7 +6,7 @@ import {Loader} from '#/components/Loader' import {Trans, msg} from '@lingui/macro' import {useLingui} from '@lingui/react' import {cleanError} from 'lib/strings/errors' -import {Button} from '#/components/Button' +import {Button, ButtonText} from '#/components/Button' import {Text} from '#/components/Typography' import {StackActions} from '@react-navigation/native' import {router} from '#/routes' @@ -223,7 +223,7 @@ export function ListMaybePlaceholder({ <Button variant="solid" color="primary" - label={_(msg`Click here`)} + label={_(msg`Click here to retry`)} onPress={onRetry} size="large" style={[ @@ -231,17 +231,21 @@ export function ListMaybePlaceholder({ a.overflow_hidden, {paddingVertical: 10}, ]}> - <Trans>Retry</Trans> + <ButtonText> + <Trans>Retry</Trans> + </ButtonText> </Button> )} <Button variant="solid" color={isError && onRetry ? 'secondary' : 'primary'} - label={_(msg`Click here`)} + label={_(msg`Click here to go back`)} onPress={onGoBack} size="large" style={[a.rounded_sm, a.overflow_hidden, {paddingVertical: 10}]}> - <Trans>Go Back</Trans> + <ButtonText> + <Trans>Go Back</Trans> + </ButtonText> </Button> </View> </> |