diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-03 11:03:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 19:03:54 +0100 |
commit | 75c9da931c87a7514b1566f75cae1442a153441b (patch) | |
tree | d0430c7333319d7ba8fe6d249eed0d758c74a901 /src/components/Prompt.tsx | |
parent | 907c7c058664d15ff2cae6455a170983a40502a6 (diff) | |
download | voidsky-75c9da931c87a7514b1566f75cae1442a153441b.tar.zst |
Add share warning to big share button in post ctrl (#3367)
Diffstat (limited to 'src/components/Prompt.tsx')
-rw-r--r-- | src/components/Prompt.tsx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index b81b20707..37d1b700a 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -3,11 +3,10 @@ import {View} from 'react-native' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {useTheme, atoms as a, useBreakpoints} from '#/alf' -import {Text} from '#/components/Typography' +import {atoms as a, useBreakpoints, useTheme} from '#/alf' import {Button, ButtonColor, ButtonText} from '#/components/Button' - import * as Dialog from '#/components/Dialog' +import {Text} from '#/components/Typography' export {useDialogControl as usePromptControl} from '#/components/Dialog' @@ -80,7 +79,7 @@ export function Actions({children}: React.PropsWithChildren<{}>) { <View style={[ a.w_full, - a.gap_sm, + a.gap_md, a.justify_end, gtMobile ? [a.flex_row, a.flex_row_reverse, a.justify_start] |