refactor: Hide Clash Field Option when Disable Filter (#63)

This commit is contained in:
Pylogmon
2023-12-05 08:34:57 +08:00
committed by GitHub
parent 14db0ae663
commit 6d4a8f2a5a
2 changed files with 19 additions and 13 deletions

View File

@@ -77,7 +77,7 @@ pub struct IVerge {
/// 默认的延迟测试连接
pub default_latency_test: Option<String>,
/// 支持关闭字段过滤避免meta的新字段都被过滤掉默认为
/// 支持关闭字段过滤避免meta的新字段都被过滤掉默认为关闭
pub enable_clash_fields: Option<bool>,
/// 是否使用内部的脚本支持,默认为真
@@ -151,7 +151,7 @@ impl IVerge {
proxy_guard_duration: Some(30),
auto_close_connection: Some(true),
enable_builtin_enhanced: Some(true),
enable_clash_fields: Some(true),
enable_clash_fields: Some(false),
auto_log_clean: Some(3),
..Self::default()
}