Skip to content

Commit

Permalink
repair bypass rules lost after editing domain list #4
Browse files Browse the repository at this point in the history
  • Loading branch information
tzmax committed Apr 15, 2022
1 parent aa172b9 commit 00569ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions V2RayX/AdvancedWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@ - (IBAction)saveDomainOrIPList:(id)sender {
[self.popover close];
if (sender == _saveIPListButton) {
self.routingRuleSets[_selectedRuleSet][@"rules"][_selectedRule][@"ip"] = [[_ipTextView string] componentsSeparatedByString:@"\n"];
NSLog(@"%@", self.routingRuleSets[_selectedRuleSet][@"rules"][_selectedRule][@"ip"]);
// NSLog(@"%@", self.routingRuleSets[_selectedRuleSet][@"rules"][_selectedRule][@"ip"]);
} else {
self.routingRuleSets[_selectedRuleSet][@"rules"][_selectedRule][@"domain"] = [[_ipTextView string] componentsSeparatedByString:@"\n"];
self.routingRuleSets[_selectedRuleSet][@"rules"][_selectedRule][@"domain"] = [[_domainTextView string] componentsSeparatedByString:@"\n"];
}
}

Expand Down

0 comments on commit 00569ad

Please sign in to comment.