mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-09-19 20:15:59 +08:00
fix: logic rules display error
This commit is contained in:
@ -40,10 +40,7 @@ func (rs *RuleSet) Adapter() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (rs *RuleSet) Payload() string {
|
func (rs *RuleSet) Payload() string {
|
||||||
if provider, ok := rs.getProvider(); ok {
|
return rs.ruleProviderName
|
||||||
return provider.Name()
|
|
||||||
}
|
|
||||||
return ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (rs *RuleSet) ShouldResolveIP() bool {
|
func (rs *RuleSet) ShouldResolveIP() bool {
|
||||||
|
Reference in New Issue
Block a user