Fixed transfer user avatar issue

This commit is contained in:
Mustafa Buyukcelebi 2019-05-05 15:29:45 +03:00
parent 902f53fe7f
commit fdb2ff95e6

View File

@ -129,7 +129,7 @@ class TransferView extends Component {
accounts, intl, handleOnModalClose, balance, fundType, transferType, accounts, intl, handleOnModalClose, balance, fundType, transferType,
} = this.props; } = this.props;
const { const {
destination, isUsernameValid, amount, steemConnectTransfer, memo, isTransfering, destination, isUsernameValid, amount, steemConnectTransfer, memo, isTransfering, from,
} = this.state; } = this.state;
const path = `sign/transfer?from=${ const path = `sign/transfer?from=${
@ -145,7 +145,7 @@ class TransferView extends Component {
<ScrollView> <ScrollView>
<View style={styles.topContent}> <View style={styles.topContent}>
<UserAvatar <UserAvatar
username={accounts[0].username} username={from}
size="xl" size="xl"
style={styles.userAvatar} style={styles.userAvatar}
noAction noAction