mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
FIX: Autocorrect when importing wallet #164
This commit is contained in:
parent
29b83ba6e5
commit
bc1fa41269
2 changed files with 11 additions and 11 deletions
|
@ -14,6 +14,7 @@ import {
|
|||
SafeAreaView,
|
||||
Clipboard,
|
||||
Platform,
|
||||
TextInput,
|
||||
} from 'react-native';
|
||||
import LinearGradient from 'react-native-linear-gradient';
|
||||
import { WatchOnlyWallet, LegacyWallet } from './class';
|
||||
|
@ -282,24 +283,24 @@ export class BlueFormInput extends Component {
|
|||
export class BlueFormMultiInput extends Component {
|
||||
render() {
|
||||
return (
|
||||
<FormInput
|
||||
<TextInput
|
||||
multiline
|
||||
underlineColorAndroid="transparent"
|
||||
numberOfLines={4}
|
||||
inputStyle={{
|
||||
width: width - 40,
|
||||
color: BlueApp.settings.foregroundColor,
|
||||
height: 120,
|
||||
// fontSize: (isIpad && 10) || ((is.iphone8() && 12) || 14),
|
||||
}}
|
||||
containerStyle={{
|
||||
style={{
|
||||
marginTop: 5,
|
||||
marginHorizontal: 20,
|
||||
borderColor: '#d2d2d2',
|
||||
borderBottomColor: '#d2d2d2',
|
||||
borderWidth: 0.5,
|
||||
borderBottomWidth: 0.5,
|
||||
backgroundColor: '#f5f5f5',
|
||||
height: 200,
|
||||
color: BlueApp.settings.foregroundColor,
|
||||
}}
|
||||
autoCorrect={false}
|
||||
autoCapitalize="none"
|
||||
spellCheck={false}
|
||||
{...this.props}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -60,7 +60,7 @@ export default class WalletsImport extends Component {
|
|||
A(A.ENUM.CREATED_WALLET);
|
||||
setTimeout(() => {
|
||||
this.props.navigation.popToTop();
|
||||
}, 500);
|
||||
});
|
||||
}
|
||||
|
||||
async importMnemonic(text) {
|
||||
|
@ -217,11 +217,10 @@ export default class WalletsImport extends Component {
|
|||
<BlueSpacing20 />
|
||||
<BlueFormMultiInput
|
||||
value={this.state.label}
|
||||
placeholder={''}
|
||||
placeholder=""
|
||||
onChangeText={text => {
|
||||
this.setLabel(text);
|
||||
}}
|
||||
autoCorrect={false}
|
||||
/>
|
||||
<BlueSpacing20 />
|
||||
<View
|
||||
|
|
Loading…
Add table
Reference in a new issue