Add experimental flag to new config options

This commit is contained in:
problematicconsumer
2024-01-01 19:31:18 +03:30
parent 800efe6b43
commit 85abd7e9e3
2 changed files with 5 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ class ConfigOptionsPage extends HookConsumerWidget {
const SettingsDivider(),
SettingsSection(t.settings.config.section.route),
SwitchListTile(
title: Text(t.settings.config.bypassLan),
title: Text(experimental(t.settings.config.bypassLan)),
value: options.bypassLan,
onChanged: (value) async =>
changeOption(ConfigOptionPatch(bypassLan: value)),
@@ -258,7 +258,9 @@ class ConfigOptionsPage extends HookConsumerWidget {
},
),
SwitchListTile(
title: Text(t.settings.config.allowConnectionFromLan),
title: Text(
experimental(t.settings.config.allowConnectionFromLan),
),
value: options.allowConnectionFromLan,
onChanged: (value) => changeOption(
ConfigOptionPatch(allowConnectionFromLan: value),

Submodule libcore updated: 540c736cc1...29c6413bce