about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-19 21:37:12 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-19 21:37:12 +0000
commit8556016a69642477e497fb7d695521b01945febc (patch)
tree06c5d8bcae4da1c151a43223248cc0cdbe398cc9 /src
parent717c53bea82cfe902af9d1ea17d43b4d8064de04 (diff)
downloadvoidsky-8556016a69642477e497fb7d695521b01945febc.tar.zst
remove textfield references from hosting provider
Diffstat (limited to 'src')
-rw-r--r--src/components/forms/HostingProvider.tsx7
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>
     </>