|
@ -17,6 +17,7 @@ import SPVServersPanel from './settings.spvServersPanel'; |
|
|
import DaemonStdoutPanel from './settings.daemonStdoutPanel'; |
|
|
import DaemonStdoutPanel from './settings.daemonStdoutPanel'; |
|
|
import NativeWalletDatKeysPanel from './settings.nativeWalletDatKeysPanel'; |
|
|
import NativeWalletDatKeysPanel from './settings.nativeWalletDatKeysPanel'; |
|
|
import CoindClearDataDirPanel from './settings.coindClearDataDirPanel'; |
|
|
import CoindClearDataDirPanel from './settings.coindClearDataDirPanel'; |
|
|
|
|
|
import mainWindow from '../../../util/mainWindow'; |
|
|
|
|
|
|
|
|
// import WalletInfoPanel from './settings.walletInfoPanel';
|
|
|
// import WalletInfoPanel from './settings.walletInfoPanel';
|
|
|
// import WalletBackupPanel from './settings.walletBackupPanel';
|
|
|
// import WalletBackupPanel from './settings.walletBackupPanel';
|
|
@ -71,12 +72,14 @@ export const SettingsRender = function() { |
|
|
<Panel |
|
|
<Panel |
|
|
uniqId={'SettingsAccordion'} |
|
|
uniqId={'SettingsAccordion'} |
|
|
singleOpen={true}> |
|
|
singleOpen={true}> |
|
|
|
|
|
{ mainWindow.arch === 'x64' && |
|
|
<PanelSection |
|
|
<PanelSection |
|
|
title={ translate('INDEX.DEBUG_LOG') } |
|
|
title={ translate('INDEX.DEBUG_LOG') } |
|
|
icon="icon fa-bug" |
|
|
icon="icon fa-bug" |
|
|
openByDefault={this.props.disableWalletSpecificUI}> |
|
|
openByDefault={this.props.disableWalletSpecificUI}> |
|
|
<DebugLogPanel /> |
|
|
<DebugLogPanel /> |
|
|
</PanelSection> |
|
|
</PanelSection> |
|
|
|
|
|
} |
|
|
{ this.props.Main.coins && |
|
|
{ this.props.Main.coins && |
|
|
this.props.Main.coins.native && |
|
|
this.props.Main.coins.native && |
|
|
Object.keys(this.props.Main.coins.native).length > 0 && |
|
|
Object.keys(this.props.Main.coins.native).length > 0 && |
|
@ -86,11 +89,13 @@ export const SettingsRender = function() { |
|
|
<DaemonStdoutPanel /> |
|
|
<DaemonStdoutPanel /> |
|
|
</PanelSection> |
|
|
</PanelSection> |
|
|
} |
|
|
} |
|
|
|
|
|
{ mainWindow.arch === 'x64' && |
|
|
<PanelSection |
|
|
<PanelSection |
|
|
title={ translate('SETTINGS.APP_CONFIG') + ' (config.json)' } |
|
|
title={ translate('SETTINGS.APP_CONFIG') + ' (config.json)' } |
|
|
icon="icon fa-wrench"> |
|
|
icon="icon fa-wrench"> |
|
|
<AppSettingsPanel /> |
|
|
<AppSettingsPanel /> |
|
|
</PanelSection> |
|
|
</PanelSection> |
|
|
|
|
|
} |
|
|
<PanelSection |
|
|
<PanelSection |
|
|
title={ translate('SETTINGS.APP_INFO') } |
|
|
title={ translate('SETTINGS.APP_INFO') } |
|
|
icon="icon md-info"> |
|
|
icon="icon md-info"> |
|
@ -106,16 +111,20 @@ export const SettingsRender = function() { |
|
|
<ExportKeysPanel /> |
|
|
<ExportKeysPanel /> |
|
|
</PanelSection> |
|
|
</PanelSection> |
|
|
} |
|
|
} |
|
|
|
|
|
{ mainWindow.arch === 'x64' && |
|
|
<PanelSection |
|
|
<PanelSection |
|
|
title={ 'Wallet.dat keys' } |
|
|
title={ 'Wallet.dat keys' } |
|
|
icon="icon md-key"> |
|
|
icon="icon md-key"> |
|
|
<NativeWalletDatKeysPanel /> |
|
|
<NativeWalletDatKeysPanel /> |
|
|
</PanelSection> |
|
|
</PanelSection> |
|
|
|
|
|
} |
|
|
|
|
|
{ mainWindow.arch === 'x64' && |
|
|
<PanelSection |
|
|
<PanelSection |
|
|
title={ 'Clear native coin data dir' } |
|
|
title={ 'Clear native coin data dir' } |
|
|
icon="icon fa-trash"> |
|
|
icon="icon fa-trash"> |
|
|
<CoindClearDataDirPanel /> |
|
|
<CoindClearDataDirPanel /> |
|
|
</PanelSection> |
|
|
</PanelSection> |
|
|
|
|
|
} |
|
|
{ this.props.Main.coins && |
|
|
{ this.props.Main.coins && |
|
|
this.props.Main.coins.spv && |
|
|
this.props.Main.coins.spv && |
|
|
Object.keys(this.props.Main.coins.spv).length && |
|
|
Object.keys(this.props.Main.coins.spv).length && |
|
|