@@ -12,7 +12,6 @@ import { SafeAreaView } from 'react-native-safe-area-context';
12
12
import { setMediaUploadOptionsAction } from '../../store/actions' ;
13
13
import { useAppDispatch , useAppSelector } from '../../store/hooks' ;
14
14
import { KeyboardAvoidingView } from '../shared/KeyboardAvoidingView' ;
15
- import UndoTextInput from '../shared/UndoTextInput' ;
16
15
import { styles } from './styles' ;
17
16
18
17
type Props = {
@@ -115,7 +114,7 @@ const UploadSettings: React.FC<Props> = ({ setShowUploadSettings }) => {
115
114
from the camera roll. Press the button twice to upload media from
116
115
elsewhere on your device. Press and hold the button to take a photo.
117
116
</ Text >
118
- < UndoTextInput
117
+ < TextInput
119
118
style = { styles . input }
120
119
placeholderTextColor = "#4157af"
121
120
keyboardType = "url"
@@ -138,7 +137,7 @@ const UploadSettings: React.FC<Props> = ({ setShowUploadSettings }) => {
138
137
</ View >
139
138
{ uploadOptionsState . basicAuth && (
140
139
< >
141
- < UndoTextInput
140
+ < TextInput
142
141
style = { styles . input }
143
142
placeholderTextColor = "#4157af"
144
143
keyboardType = "email-address"
@@ -159,7 +158,7 @@ const UploadSettings: React.FC<Props> = ({ setShowUploadSettings }) => {
159
158
/>
160
159
</ >
161
160
) }
162
- < UndoTextInput
161
+ < TextInput
163
162
style = { styles . input }
164
163
placeholderTextColor = "#4157af"
165
164
autoCapitalize = "none"
@@ -168,7 +167,7 @@ const UploadSettings: React.FC<Props> = ({ setShowUploadSettings }) => {
168
167
onChangeText = { setUploadOptionsFieldName }
169
168
value = { uploadOptionsState . fieldName }
170
169
/>
171
- < UndoTextInput
170
+ < TextInput
172
171
style = { styles . input }
173
172
placeholderTextColor = "#4157af"
174
173
autoCapitalize = "none"
@@ -189,7 +188,7 @@ const UploadSettings: React.FC<Props> = ({ setShowUploadSettings }) => {
189
188
columnGap : 10
190
189
} }
191
190
>
192
- < UndoTextInput
191
+ < TextInput
193
192
style = { [ styles . input , { minWidth : 300 , flexGrow : 1 } ] }
194
193
placeholderTextColor = "#4157af"
195
194
autoCapitalize = "none"
@@ -200,7 +199,7 @@ const UploadSettings: React.FC<Props> = ({ setShowUploadSettings }) => {
200
199
setUploadOptionsHeaderName ( index , text )
201
200
}
202
201
/>
203
- < UndoTextInput
202
+ < TextInput
204
203
style = { [ styles . input , { minWidth : 300 , flexGrow : 1 } ] }
205
204
placeholderTextColor = "#4157af"
206
205
autoCapitalize = "none"
0 commit comments