From 31e5bc6fe6601692d9295fb2ddb08013435087df Mon Sep 17 00:00:00 2001 From: Mustafa Buyukcelebi Date: Fri, 3 May 2019 14:32:14 +0300 Subject: [PATCH] Fixed keyboard type issue on transfer page --- src/screens/transfer/screen/transferScreen.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/screens/transfer/screen/transferScreen.js b/src/screens/transfer/screen/transferScreen.js index 40f02d245..950f3d237 100644 --- a/src/screens/transfer/screen/transferScreen.js +++ b/src/screens/transfer/screen/transferScreen.js @@ -75,7 +75,7 @@ class TransferView extends Component { } }; - _renderInput = (placeholder, state) => ( + _renderInput = (placeholder, state, keyboardType) => ( this._setState(state, text)} @@ -83,7 +83,7 @@ class TransferView extends Component { placeholder={placeholder} placeholderTextColor="#c1c5c7" autoCapitalize="none" - keyboardType="numeric" + keyboardType={keyboardType} /> ); @@ -135,19 +135,20 @@ class TransferView extends Component { rightComponent={() => this._renderInput( intl.formatMessage({ id: 'transfer.to_placeholder' }), 'destination', + 'default', ) } /> this._renderInput(intl.formatMessage({ id: 'transfer.amount' }), 'amount')} + rightComponent={() => this._renderInput(intl.formatMessage({ id: 'transfer.amount' }), 'amount', 'numeric')} /> this._renderDescription(`${intl.formatMessage({ id: 'transfer.amount_desc' })} ${balance} ${fundType}`)} /> this._renderInput(intl.formatMessage({ id: 'transfer.memo_placeholder' }), 'memo') + rightComponent={() => this._renderInput(intl.formatMessage({ id: 'transfer.memo_placeholder' }), 'memo', 'default') } />