import React from 'react'; import { translate } from '../../../translate/translate'; export const SettingsRender = function() { return (

{ translate('INDEX.WALLET_SETTINGS') }

{ !this.props.disableWalletSpecificUI &&
this.openTab('WalletInfo', 0) } className={ 'panel' + (this.state.nativeOnly ? ' hide' : '') }>
{ this.renderWalletInfo() }
} { !this.props.disableWalletSpecificUI &&
this.openTab('AddNodeforCoin', 1) } className={ 'panel' + (this.state.nativeOnly ? ' hide' : '') }>
{ this.renderAddNode() }
} { !this.props.disableWalletSpecificUI &&
this.openTab('DumpWallet', 2) } className={ 'panel' + (this.state.nativeOnly ? ' hide' : '') }>
{ this.renderWalletBackup() }
} { !this.props.disableWalletSpecificUI &&
this.openTab('FiatCurrencySettings', 3) } className={ 'panel' + (this.state.nativeOnly ? ' hide' : '') }>
{ this.renderFiatCurrency() }
} { !this.props.disableWalletSpecificUI &&
this.openTab('ExportKeys', 4) } className={ 'panel' + (this.state.nativeOnly ? ' hide' : '') }>
{ this.renderExportKeys() }
} { !this.props.disableWalletSpecificUI &&
this.openTab('ImportKeys', 5) } className={ 'panel' + (this.state.nativeOnly ? ' hide' : '') }>
{ this.renderImportKeys() }
}
this.openTab('DebugLog', 6) }>
{ this.renderDebugLog() }
this.openTab('AppSettings', 7) }>
{ this.renderAppSettings() }
this.openTab('AppInfo', 8) }>
{ this.renderAppInfoTab() }
{ this.props.Main && this.props.Main.coins.native &&
this.openTab('Cli', 9) } className={ 'panel' + (!this.props.Main.coins.native.length ? ' hide' : '') }>
{ this.renderCliPanel() }
}
this.openTab('AppUpdate', 10) }>
{ this.renderAppUpdateTab() }
this.openTab('Support', 11) }>
{ this.renderSupportPanel() }
); };