diff --git a/lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart b/lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart index 9c51cfb5e..ccf4bf2ba 100644 --- a/lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart +++ b/lib/pages/settings_views/global_settings_view/manage_nodes_views/add_edit_node_view.dart @@ -1228,69 +1228,75 @@ class _NodeFormState extends ConsumerState { ), ], ), - const SizedBox( - height: 16, - ), - Row( - children: [ - RadioTextButton( - label: "Only TOR traffic", - enabled: !widget.readOnly, - value: TorPlainNetworkOption.tor, - groupValue: netOption, - onChanged: (value) { - if (!widget.readOnly) { - setState( - () => netOption = TorPlainNetworkOption.tor, - ); - _updateState(); - } - }, - ), - ], - ), - const SizedBox( - height: 8, - ), - Row( - children: [ - RadioTextButton( - label: "Only non-TOR traffic", - enabled: !widget.readOnly, - value: TorPlainNetworkOption.clear, - groupValue: netOption, - onChanged: (value) { - if (!widget.readOnly) { - setState( - () => netOption = TorPlainNetworkOption.clear, - ); - _updateState(); - } - }, - ), - ], - ), - const SizedBox( - height: 8, - ), - Row( - children: [ - RadioTextButton( - label: "Allow both", - enabled: !widget.readOnly, - value: TorPlainNetworkOption.both, - groupValue: netOption, - onChanged: (value) { - if (!widget.readOnly) { - setState( - () => netOption = TorPlainNetworkOption.both, - ); - _updateState(); - } - }, - ), - ], - ), + if (widget.coin is! Ethereum) + const SizedBox( + height: 16, + ), + if (widget.coin is! Ethereum) + Row( + children: [ + RadioTextButton( + label: "Only TOR traffic", + enabled: !widget.readOnly, + value: TorPlainNetworkOption.tor, + groupValue: netOption, + onChanged: (value) { + if (!widget.readOnly) { + setState( + () => netOption = TorPlainNetworkOption.tor, + ); + _updateState(); + } + }, + ), + ], + ), + if (widget.coin is! Ethereum) + const SizedBox( + height: 8, + ), + if (widget.coin is! Ethereum) + Row( + children: [ + RadioTextButton( + label: "Only non-TOR traffic", + enabled: !widget.readOnly, + value: TorPlainNetworkOption.clear, + groupValue: netOption, + onChanged: (value) { + if (!widget.readOnly) { + setState( + () => netOption = TorPlainNetworkOption.clear, + ); + _updateState(); + } + }, + ), + ], + ), + if (widget.coin is! Ethereum) + const SizedBox( + height: 8, + ), + if (widget.coin is! Ethereum) + Row( + children: [ + RadioTextButton( + label: "Allow both", + enabled: !widget.readOnly, + value: TorPlainNetworkOption.both, + groupValue: netOption, + onChanged: (value) { + if (!widget.readOnly) { + setState( + () => netOption = TorPlainNetworkOption.both, + ); + _updateState(); + } + }, + ), + ], + ), ], ); }