feat: custom disable ssl cert verf

Closes #88

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-02 14:13:13 +08:00
parent d0ef75bce7
commit f1a10a786d
4 changed files with 62 additions and 0 deletions

View File

@@ -408,6 +408,13 @@ class _ExtraSettingState extends State<ExtraSetting> {
setKey: SettingBoxKey.reverseFromFirst,
defaultVal: true,
),
SetSwitchItem(
title: '禁用 SSL 证书验证',
subTitle: '谨慎开启,禁用容易受到中间人攻击',
leading: Icon(Icons.security),
needReboot: true,
setKey: SettingBoxKey.badCertificateCallback,
),
Obx(
() => ListTile(
enableFeedback: true,