Using new KeePassKit API for Tags

Signed-off-by: michael starke <michael.starke@hicknhack-software.com>
This commit is contained in:
michael starke
2015-09-30 18:55:01 +02:00
parent 6e3af144bc
commit 6d3a021cb6
4 changed files with 50 additions and 2 deletions

View File

@@ -91,8 +91,7 @@
}
/* test for tags */
if(matchTags && !foundMatch) {
NSArray *tags = [entry.tags componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@".:;"]];
for(NSString *tag in tags) {
for(NSString *tag in entry.tags) {
foundMatch = ([windowTitle rangeOfString:tag options:NSCaseInsensitiveSearch].length != 0);
if(foundMatch) {
break;