2
0

Expand the maximum length of query searches.

This commit is contained in:
Maarten Billemont 2020-07-11 21:43:34 -04:00
parent cfbf1f5cac
commit 029041dcf7
2 changed files with 2 additions and 2 deletions

View File

@ -617,7 +617,7 @@
NSMutableString *queryPattern = [NSMutableString new];
[queryString enumerateSubstringsInRange: NSMakeRange(0, [queryString length]) options: NSStringEnumerationByComposedCharacterSequences
usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {
if (substringRange.location < 10) {
if (substringRange.location < 20) {
[queryGroups addObject:substring];
[queryPattern appendString:@"*"];
}

View File

@ -373,7 +373,7 @@ typedef NS_OPTIONS( NSUInteger, MPPasswordsTips ) {
NSMutableString *queryPattern = [NSMutableString new];
[queryString enumerateSubstringsInRange: NSMakeRange(0, [queryString length]) options: NSStringEnumerationByComposedCharacterSequences
usingBlock: ^(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop) {
if (substringRange.location < 10) {
if (substringRange.location < 20) {
[queryGroups addObject:substring];
[queryPattern appendString:@"*"];
}