From 418d9a630bd191da97c91d90a224369ac2f05d5a Mon Sep 17 00:00:00 2001 From: Sadaqat Ali Date: Tue, 15 Feb 2022 22:27:24 +0500 Subject: [PATCH] disabled account selection --- src/screens/transfer/screen/delegateScreen.js | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/screens/transfer/screen/delegateScreen.js b/src/screens/transfer/screen/delegateScreen.js index 4e3242f3f..b3cc67770 100644 --- a/src/screens/transfer/screen/delegateScreen.js +++ b/src/screens/transfer/screen/delegateScreen.js @@ -245,6 +245,7 @@ class DelegateScreen extends Component { ); } }; + // Note: dropdown for user account selection. can be used in later implementaion _renderDropdown = (accounts, currentAccountName) => ( { const { isAmountValid } = this.state; switch (state) { + case 'from': + return ( + + ); case 'destination': return ( @@ -437,7 +453,9 @@ class DelegateScreen extends Component { this._renderDropdown(accounts, currentAccountName)} + rightComponent={() => + this._renderInput(intl.formatMessage({ id: 'transfer.from' }), 'from', 'default') + } />