Add connection from lan option

This commit is contained in:
problematicconsumer
2024-01-01 19:14:28 +03:30
parent b117ab0372
commit 800efe6b43
10 changed files with 18 additions and 0 deletions

View File

@@ -257,6 +257,13 @@ class ConfigOptionsPage extends HookConsumerWidget {
);
},
),
SwitchListTile(
title: Text(t.settings.config.allowConnectionFromLan),
value: options.allowConnectionFromLan,
onChanged: (value) => changeOption(
ConfigOptionPatch(allowConnectionFromLan: value),
),
),
const SettingsDivider(),
SettingsSection(t.settings.config.section.tlsTricks),
SwitchListTile(