mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
fix: logic rules display error
This commit is contained in:
parent
e4646fc3d2
commit
5a73d99c6f
|
@ -40,10 +40,7 @@ func (rs *RuleSet) Adapter() string {
|
|||
}
|
||||
|
||||
func (rs *RuleSet) Payload() string {
|
||||
if provider, ok := rs.getProvider(); ok {
|
||||
return provider.Name()
|
||||
}
|
||||
return ""
|
||||
return rs.ruleProviderName
|
||||
}
|
||||
|
||||
func (rs *RuleSet) ShouldResolveIP() bool {
|
||||
|
|
Loading…
Reference in New Issue
Block a user