diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 22:25:38 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 22:25:38 -0600 |
commit | 4b33cdb7ec20ba449941083f29726bea28f0f25b (patch) | |
tree | ee8e9c1d9a0b9e850e111db2939d1cbd7ed0cd20 /src/view/com/modals/ServerInput.tsx | |
parent | 24559599f3b340a071e96f15b17deb914338d80b (diff) | |
download | voidsky-4b33cdb7ec20ba449941083f29726bea28f0f25b.tar.zst |
Implement modals for web
Diffstat (limited to 'src/view/com/modals/ServerInput.tsx')
-rw-r--r-- | src/view/com/modals/ServerInput.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/modals/ServerInput.tsx b/src/view/com/modals/ServerInput.tsx index 85c0d70b7..dde836719 100644 --- a/src/view/com/modals/ServerInput.tsx +++ b/src/view/com/modals/ServerInput.tsx @@ -4,7 +4,7 @@ import { FontAwesomeIcon, FontAwesomeIconStyle, } from '@fortawesome/react-native-fontawesome' -import {BottomSheetScrollView, BottomSheetTextInput} from '@gorhom/bottom-sheet' +import {ScrollView, TextInput} from './util' import {Text} from '../util/text/Text' import {useStores} from '../../../state' import {s, colors} from '../../lib/styles' @@ -32,7 +32,7 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) { return ( <View style={s.flex1} testID="serverInputModal"> <Text style={[s.textCenter, s.bold, s.f18]}>Choose Service</Text> - <BottomSheetScrollView style={styles.inner}> + <ScrollView style={styles.inner}> <View style={styles.group}> {LOGIN_INCLUDE_DEV_SERVERS ? ( <> @@ -69,7 +69,7 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) { <View style={styles.group}> <Text style={styles.label}>Other service</Text> <View style={s.flexRow}> - <BottomSheetTextInput + <TextInput testID="customServerTextInput" style={styles.textInput} placeholder="e.g. https://bsky.app" @@ -92,7 +92,7 @@ export function Component({onSelect}: {onSelect: (url: string) => void}) { </TouchableOpacity> </View> </View> - </BottomSheetScrollView> + </ScrollView> </View> ) } |