Skip to content

Commit

Permalink
💄 代理设置开关IsEnable一致性调整
Browse files Browse the repository at this point in the history
  • Loading branch information
luojunyuan committed Aug 31, 2024
1 parent b829114 commit c94dec4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<ui:SettingsExpanderItem.Footer>
<ui:FAComboBox
IsEditable="True"
IsEnabled="{Binding Source={x:Static ms:ProxySettings.UseDoh}, Path=!Value}"
ItemsSource="{Binding ProxyDNSs}"
Text="{Binding Source={x:Static ms:ProxySettings.ProxyMasterDns}, Path=Value, Mode=TwoWay}" />
</ui:SettingsExpanderItem.Footer>
Expand Down Expand Up @@ -78,6 +79,7 @@
<ui:SettingsExpanderItem.Footer>
<ui:FAComboBox
IsEditable="True"
IsEnabled="{Binding Source={x:Static ms:ProxySettings.UseDoh}, Path=Value}"
ItemsSource="{Binding DohAddress}"
PlaceholderText="{Binding Source={x:Static s:IDnsAnalysisService.Dnspod_DohAddres}, Mode=OneWay}"
Text="{Binding Source={x:Static ms:ProxySettings.CustomDohAddres}, Path=Value, Mode=TwoWay}" />
Expand Down

0 comments on commit c94dec4

Please sign in to comment.