mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-05 21:28:04 +03:00
Code clean (#9482)
This commit is contained in:
@@ -56,7 +56,7 @@ public class DNSSettingViewModel : MyReactiveObject
|
||||
});
|
||||
|
||||
this.WhenAnyValue(x => x.RayCustomDNSEnableCompatible, x => x.SBCustomDNSEnableCompatible)
|
||||
.Select(x => !(x.Item1 && x.Item2))
|
||||
.Select(x => x is not { Item1: true, Item2: true })
|
||||
.ToPropertyEx(this, x => x.IsSimpleDNSEnabled);
|
||||
|
||||
_ = Init();
|
||||
|
||||
Reference in New Issue
Block a user