mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
remove tor only option from advanced settings screen
This commit is contained in:
parent
e1a76949dd
commit
2615a3bdfc
1 changed files with 2 additions and 2 deletions
|
@ -184,13 +184,13 @@ class _AdvancedPrivacySettingsBodyState extends State<AdvancedPrivacySettingsBod
|
|||
displayItem: (TorConnectionMode mode) => mode.title,
|
||||
selectedItem: widget.torViewModel.torConnectionMode,
|
||||
onItemSelected: (TorConnectionMode mode) async {
|
||||
if (mode == TorConnectionMode.torOnly) {
|
||||
if (mode == TorConnectionMode.enabled) {
|
||||
await showPopUp<void>(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return AlertWithOneAction(
|
||||
alertTitle: S.of(context).warning,
|
||||
alertContent: S.of(context).tor_only_warning,
|
||||
alertContent: S.of(context).tor_enabled_warning,
|
||||
buttonText: S.of(context).ok,
|
||||
buttonAction: () => Navigator.of(context).pop(),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue