diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-19 21:37:12 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-19 21:37:12 +0000 |
commit | 8556016a69642477e497fb7d695521b01945febc (patch) | |
tree | 06c5d8bcae4da1c151a43223248cc0cdbe398cc9 /src | |
parent | 717c53bea82cfe902af9d1ea17d43b4d8064de04 (diff) | |
download | voidsky-8556016a69642477e497fb7d695521b01945febc.tar.zst |
remove textfield references from hosting provider
Diffstat (limited to 'src')
-rw-r--r-- | src/components/forms/HostingProvider.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/forms/HostingProvider.tsx b/src/components/forms/HostingProvider.tsx index c0dd7218e..80660b580 100644 --- a/src/components/forms/HostingProvider.tsx +++ b/src/components/forms/HostingProvider.tsx @@ -5,7 +5,6 @@ import {isAndroid} from '#/platform/detection' import {atoms as a, useTheme} from '#/alf' import {Globe_Stroke2_Corner0_Rounded as Globe} from '#/components/icons/Globe' import {PencilLine_Stroke2_Corner0_Rounded as Pencil} from '#/components/icons/Pencil' -import * as TextField from './TextField' import {useDialogControl} from '../Dialog' import {Text} from '../Typography' import {ServerInputDialog} from '#/view/com/auth/server-input' @@ -49,7 +48,9 @@ export function HostingProvider({ t.atoms.bg_contrast_25, ]} onPress={onPressSelectService}> - <TextField.Icon icon={Globe} /> + <View style={a.pr_xs}> + <Globe size="md" fill={t.palette.contrast_500} /> + </View> <Text style={[a.text_md]}>{toNiceDomain(serviceUrl)}</Text> <View style={[ @@ -57,7 +58,7 @@ export function HostingProvider({ t.atoms.bg_contrast_100, {marginLeft: 'auto', left: 6, padding: 6}, ]}> - <Pencil style={{color: t.palette.contrast_500}} /> + <Pencil size="sm" style={{color: t.palette.contrast_500}} /> </View> </TouchableOpacity> </> |