mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 02:22:28 +00:00
Fixed tag matching
Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
foundMatch = [windowTitle rangeOfString:url.host options:NSCaseInsensitiveSearch].length != 0;
|
||||
}
|
||||
/* test for tags */
|
||||
if(matchTags && !context.valid) {
|
||||
if(matchTags && !foundMatch) {
|
||||
NSArray *tags = [entry.tags componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@".:;"]];
|
||||
for(NSString *tag in tags) {
|
||||
foundMatch = ([windowTitle rangeOfString:tag options:NSCaseInsensitiveSearch].length != 0);
|
||||
|
||||
Reference in New Issue
Block a user