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 e120960d1..2d6645f64 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 @@ -1475,60 +1475,57 @@ class _NodeFormState extends ConsumerState { ), ], ), - 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(); - } - }, - ), - ], - ), + 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 CryptonoteCurrency && _isLocalNode()) const SizedBox(height: 8), if (widget.coin is CryptonoteCurrency && _isLocalNode())