Browse Source

Upgade lcg

custom_tor_config
Sarah Jamie Lewis 2 weeks ago
parent
commit
958be3e8f7
  1. 2
      LIBCWTCH-GO-MACOS.version
  2. 2
      LIBCWTCH-GO.version
  3. 22
      lib/views/torstatusview.dart

2
LIBCWTCH-GO-MACOS.version

@ -1 +1 @@
2022-01-07-16-29-v1.5.4
2022-01-12-17-26-v1.5.4-3-gaf47036

2
LIBCWTCH-GO.version

@ -1 +1 @@
2022-01-07-21-30-v1.5.4
2022-01-12-22-26-v1.5.4-3-gaf47036

22
lib/views/torstatusview.dart

@ -133,16 +133,18 @@ class _TorStatusView extends State<TorStatusView> {
inactiveTrackColor: settings.theme.defaultButtonDisabledColor,
secondary: Icon(CwtchIcons.enable_experiments, color: settings.current().mainTextColor),
),
Visibility(visible: settings.useCustomTorConfig, child: Padding(
padding: EdgeInsets.all(5),
child: CwtchTextField(
controller: torConfigController,
multiLine: true,
onChanged: (torConfig) {
settings.torConfig = torConfig;
saveSettings(context);
},
)))
Visibility(
visible: settings.useCustomTorConfig,
child: Padding(
padding: EdgeInsets.all(5),
child: CwtchTextField(
controller: torConfigController,
multiLine: true,
onChanged: (torConfig) {
settings.torConfig = torConfig;
saveSettings(context);
},
)))
]))
]))));
});

Loading…
Cancel
Save