|
|
|
@ -41,9 +41,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { |
|
|
|
|
const metadataConfig = props.config.get('settings/generate-contract-metadata') |
|
|
|
|
if (metadataConfig === undefined || metadataConfig === null) generateContractMetadat(props.config, true, dispatch) |
|
|
|
|
|
|
|
|
|
const javascriptVM = props.config.get('settings/always-use-vm') |
|
|
|
|
if (javascriptVM === null || javascriptVM === undefined) ethereumVM(props.config, true, dispatch) |
|
|
|
|
|
|
|
|
|
const useAutoComplete = props.config.get('settings/auto-completion') |
|
|
|
|
if (useAutoComplete === null || useAutoComplete === undefined) useAutoCompletion(props.config, true, dispatch) |
|
|
|
|
|
|
|
|
@ -148,7 +145,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { |
|
|
|
|
|
|
|
|
|
const generalConfig = () => { |
|
|
|
|
const isMetadataChecked = props.config.get('settings/generate-contract-metadata') || false |
|
|
|
|
const isEthereumVMChecked = props.config.get('settings/always-use-vm') || false |
|
|
|
|
const isEditorWrapChecked = props.config.get('settings/text-wrap') || false |
|
|
|
|
const isPersonalChecked = props.config.get('settings/personal-mode') || false |
|
|
|
|
const isMatomoChecked = props.config.get('settings/matomo-analytics') || false |
|
|
|
@ -192,12 +188,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => { |
|
|
|
|
<FormattedMessage id='settings.generateContractMetadataText' /> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
<div className="fmt-2 custom-control custom-checkbox mb-1"> |
|
|
|
|
<input onChange={onchangeOption} className="custom-control-input" id="alwaysUseVM" data-id="settingsTabAlwaysUseVM" type="checkbox" name="ethereumVM" checked={isEthereumVMChecked} /> |
|
|
|
|
<label className={`form-check-label custom-control-label align-middle ${getTextClass('settings/always-use-vm')}`} htmlFor="alwaysUseVM"> |
|
|
|
|
<FormattedMessage id='settings.ethereunVMText' /> |
|
|
|
|
</label> |
|
|
|
|
</div> |
|
|
|
|
<div className="mt-2 custom-control custom-checkbox mb-1"> |
|
|
|
|
<input id="editorWrap" className="custom-control-input" type="checkbox" onChange={textWrapEvent} checked={isEditorWrapChecked} /> |
|
|
|
|
<label className={`form-check-label custom-control-label align-middle ${getTextClass('settings/text-wrap')}`} htmlFor="editorWrap"> |
|
|
|
|